mirror of
https://github.com/omniauth/omniauth.git
synced 2022-11-09 12:31:49 -05:00
updated OAuth spec helper: added Bundler.setup to support running specs individually; added configure block to do common mixins
This commit is contained in:
parent
fb94eeccf5
commit
7691e0c295
1 changed files with 9 additions and 5 deletions
|
@ -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'
|
||||
Spec::Runner.configure do |config|
|
||||
config.include WebMock
|
||||
config.include Rack::Test::Methods
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue