Sha256: 068e0114a55abcfb3e672c6d949d67d32b7dcc170a56b1ca06668e36416f36d0
Contents?: true
Size: 530 Bytes
Versions: 8
Compression:
Stored size: 530 Bytes
Contents
require 'cucumber/rails/world' begin require 'rspec/rails/matchers' [Cucumber::Rails::World, ActionDispatch::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, ActionDispatch::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
8 entries across 8 versions & 1 rubygems