1
0
Fork 0
mirror of https://github.com/omniauth/omniauth.git synced 2022-11-09 12:31:49 -05:00

Adds oa-more to root Rake tasks, makes specs ready to run

This commit is contained in:
Michael Bleigh 2011-01-12 08:51:22 -06:00
parent 8a6bb78c12
commit 9fc82c72f6
4 changed files with 4 additions and 5 deletions

View file

@ -12,7 +12,7 @@ rescue LoadError
def red; '' end def red; '' end
end end
OMNIAUTH_GEMS = %w(oa-basic oa-core oa-oauth oa-openid oa-enterprise omniauth) OMNIAUTH_GEMS = %w(oa-basic oa-core oa-oauth oa-openid oa-enterprise oa-more omniauth)
def each_gem(action, &block) def each_gem(action, &block)
OMNIAUTH_GEMS.each_with_index do |dir, i| OMNIAUTH_GEMS.each_with_index do |dir, i|

View file

@ -153,7 +153,6 @@ describe OmniAuth::Strategy do
} }
strategy.call 'PATH_INFO' => '/auth/test/callback' strategy.call 'PATH_INFO' => '/auth/test/callback'
raise OmniAuth.config.mock_auth.inspect
strategy.env['omniauth.auth']['uid'].should == 'abc' strategy.env['omniauth.auth']['uid'].should == 'abc'
end end
end end

View file

@ -4,7 +4,7 @@ Bundler.setup
require 'rake' require 'rake'
require 'mg' require 'mg'
MG.new('oa-basic.gemspec') MG.new('oa-more.gemspec')
require 'rspec/core/rake_task' require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |s| RSpec::Core::RakeTask.new(:spec) do |s|

View file

@ -7,6 +7,6 @@ require 'webmock/rspec'
include Rack::Test::Methods include Rack::Test::Methods
include WebMock include WebMock
require 'omniauth/basic' require 'omniauth/more'
WebMock.disable_net_connect! WebMock.disable_net_connect!