spec/spec_helper.rb in omniauth-exvo-0.0.3 vs spec/spec_helper.rb in omniauth-exvo-0.0.4

- old
+ new

@@ -6,13 +6,20 @@ $:.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) $:.unshift(File.dirname(__FILE__)) require 'rack/test' require 'omniauth-exvo' +require 'pry' Dir[File.expand_path('../support/**/*', __FILE__)].each { |f| require f } RSpec.configure do |config| + config.mock_with :rspec config.include Rack::Test::Methods config.extend OmniAuth::Test::StrategyMacros, :type => :strategy + + config.before(:each) do + OmniAuth.config.test_mode = true + end + end