Sha256: 3f534fbbced1760dbcf32433c62c5f5225e86e1c6f6d94a12ae11d18ae8d4d97
Contents?: true
Size: 546 Bytes
Versions: 15
Compression:
Stored size: 546 Bytes
Contents
# frozen_string_literal: true 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 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
15 entries across 15 versions & 1 rubygems