Permalink
Browse files

Removed Bourne dependency

  • Loading branch information...
1 parent f1be58e commit 3a0ec17886013f2f472376b8a90ff59d0d7b9631 Derek Lindahl committed Nov 4, 2012
Showing with 5 additions and 5 deletions.
  1. +0 −1 omniauth-cas.gemspec
  2. +5 −2 spec/omniauth/strategies/cas/service_ticket_validator_spec.rb
  3. +0 −2 spec/spec_helper.rb
View
@@ -24,7 +24,6 @@ Gem::Specification.new do |gem|
gem.add_development_dependency 'simplecov', '~> 0.7.1'
gem.add_development_dependency 'rspec', '~> 2.11'
gem.add_development_dependency 'rack-test', '~> 0.6'
- gem.add_development_dependency 'bourne', '~> 1.1.2'
gem.add_development_dependency 'awesome_print'
@@ -21,12 +21,15 @@
end
describe "#user_info" do
- before do
+ subject do
stub_request(:get, "https://example.org/serviceValidate?").to_return(:status => 200, :body => '')
validator.user_info
end
+
it "should use the configured CA path" do
- provider_options.should have_received(:ca_path)
+ provider_options.should_receive :ca_path
+
+ subject
end
end
end
View
@@ -1,11 +1,9 @@
require 'bundler/setup'
-require 'bourne'
RSpec.configure do |c|
c.filter_run focus: true
c.run_all_when_everything_filtered = true
c.treat_symbols_as_metadata_keys_with_true_values = true
- c.mock_with :mocha
end
require 'simplecov'

0 comments on commit 3a0ec17

Please sign in to comment.