We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bbd84ba commit be1ddccCopy full SHA for be1ddcc
1 file changed
lib/wrong/adapters/rspec.rb
@@ -7,8 +7,8 @@
7
if RSpec.const_defined? :Rails
8
require 'rails/version'
9
case Rails::VERSION::STRING
10
- when /^4\.1/
11
- # RSpec 2 plus Rails 4.1
+ when /^4\.[12]/
+ # RSpec 2 plus Rails 4.1/4.2
12
module RSpec::Rails::MinitestAssertionAdapter::ClassMethods
13
def define_assertion_delegators_with_removed
14
define_assertion_delegators_without_removed
0 commit comments