diff --git a/oa-oauth/spec/spec_helper.rb b/oa-oauth/spec/spec_helper.rb index 3dbf4b0..2e2f865 100644 --- a/oa-oauth/spec/spec_helper.rb +++ b/oa-oauth/spec/spec_helper.rb @@ -1,10 +1,14 @@ require 'rubygems' +require 'bundler' +Bundler.setup require 'spec' require 'spec/autorun' -require 'rack/test' require 'webmock/rspec' +require 'rack/test' +require 'omniauth/core' +require 'omniauth/oauth' -include Rack::Test::Methods -include WebMock - -require 'omniauth/oauth' \ No newline at end of file +Spec::Runner.configure do |config| + config.include WebMock + config.include Rack::Test::Methods +end