Make cucumber think that facebook has been configured

This commit is contained in:
Raphael Sofaer 2011-08-05 11:52:35 -07:00
parent 6d3da0d0d1
commit d33282cbf6

View file

@ -53,7 +53,8 @@ Before do
end
silence_warnings do
SERVICES['facebook'] = {'app_id' => :fake}
SERVICES['facebook'] = {'app_id' => :fake, 'app_secret' => 'sdoigjosdfijg'}
AppConfig[:configured_services] << 'facebook'
end
require File.join(File.dirname(__FILE__), "..", "..", "spec", "support", "fake_resque")
@ -90,4 +91,4 @@ class Capybara::Driver::Selenium < Capybara::Driver::Base
raise Capybara::OptionNotFound, "No such option '#{option}' in this select box. Available options: #{options}"
end
end
end
end