updated OAuth spec helper: added Bundler.setup to support running specs individually; added configure block to do common mixins
This commit is contained in:
Родитель
fb94eeccf5
Коммит
7691e0c295
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче