Sha256: 8c78ac0f54f8db7df5ef3a51e2808296d78f66f22688fbe7a7dbace009f63805
Contents?: true
Size: 534 Bytes
Versions: 21
Compression:
Stored size: 534 Bytes
Contents
require 'cucumber/rails/world' begin require 'rspec/rails/matchers' [Cucumber::Rails::World, ActionController::Integration::Session].each do |klass| klass.class_eval do include RSpec::Matchers end end rescue LoadError => try_rspec_1 require 'spec/expectations' require 'spec/rails' [Cucumber::Rails::World, ActionController::Integration::Session].each do |klass| klass.class_eval do include Spec::Matchers include Spec::Rails::Matchers if defined?(Spec::Rails::Matchers) end end end
Version data entries
21 entries across 21 versions & 2 rubygems