Skip to content

Commit

Permalink
We won't bother supporting old rspec 2.0.0.beta versions.
Browse files Browse the repository at this point in the history
  • Loading branch information
aslakhellesoy committed Jun 6, 2010
2 parents 2b39470 + 8b52631 commit ffafbbe
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions lib/cucumber/rails/rspec.rb
Expand Up @@ -6,11 +6,7 @@

[Cucumber::Rails::World, ActionController::Integration::Session].each do |klass|
klass.class_eval do
if defined?(RSpec)
include RSpec::Matchers
else
include Rspec::Matchers
end
include RSpec::Matchers
end
end
rescue LoadError => try_rspec_1
Expand Down

0 comments on commit ffafbbe

Please sign in to comment.