Browse files

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

  • Loading branch information...
1 parent 8a6bb78 commit 9fc82c72f660425023887de9d8c42291037464f1 Michael Bleigh committed Jan 12, 2011
Showing with 4 additions and 5 deletions.
  1. +2 −2 Rakefile
  2. +0 −1 oa-core/spec/omniauth/strategy_spec.rb
  3. +1 −1 oa-more/Rakefile
  4. +1 −1 oa-more/spec/spec_helper.rb
View
4 Rakefile
@@ -12,7 +12,7 @@ rescue LoadError
def red; '' 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)
OMNIAUTH_GEMS.each_with_index do |dir, i|
@@ -182,4 +182,4 @@ begin
end
rescue LoadError
puts "You need to install YARD."
-end
+end
View
1 oa-core/spec/omniauth/strategy_spec.rb
@@ -153,7 +153,6 @@ def callback_phase
}
strategy.call 'PATH_INFO' => '/auth/test/callback'
- raise OmniAuth.config.mock_auth.inspect
strategy.env['omniauth.auth']['uid'].should == 'abc'
end
end
View
2 oa-more/Rakefile
@@ -4,7 +4,7 @@ Bundler.setup
require 'rake'
require 'mg'
-MG.new('oa-basic.gemspec')
+MG.new('oa-more.gemspec')
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |s|
View
2 oa-more/spec/spec_helper.rb
@@ -7,6 +7,6 @@
include Rack::Test::Methods
include WebMock
-require 'omniauth/basic'
+require 'omniauth/more'
WebMock.disable_net_connect!

0 comments on commit 9fc82c7

Please sign in to comment.