spec/spec_helper.rb in omniauth-meetup-0.0.5 vs spec/spec_helper.rb in omniauth-meetup-0.0.6
- old
+ new
@@ -1,8 +1,13 @@
+Dir[File.expand_path('../support/**/*', __FILE__)].each { |f| require f }
require 'bundler/setup'
require 'rspec'
-Dir[File.expand_path('../support/**/*', __FILE__)].each { |f| require f }
-
+require 'rack/test'
+require 'webmock/rspec'
+require 'omniauth'
require 'omniauth-meetup'
RSpec.configure do |config|
+ config.include WebMock::API
+ config.include Rack::Test::Methods
+ config.extend OmniAuth::Test::StrategyMacros, :type => :strategy
end