updated OAuth spec helper: added Bundler.setup to support running specs individually; added configure block to do common mixins

This commit is contained in:
James A. Rosen 2010-06-18 20:50:44 -04:00
Родитель fb94eeccf5
Коммит 7691e0c295
1 изменённых файлов: 9 добавлений и 5 удалений

Просмотреть файл

@ -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