Skip to content

Commit be1ddcc

Browse files
committed
Added Rails 4.2 integration clause
1 parent bbd84ba commit be1ddcc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/wrong/adapters/rspec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
if RSpec.const_defined? :Rails
88
require 'rails/version'
99
case Rails::VERSION::STRING
10-
when /^4\.1/
11-
# RSpec 2 plus Rails 4.1
10+
when /^4\.[12]/
11+
# RSpec 2 plus Rails 4.1/4.2
1212
module RSpec::Rails::MinitestAssertionAdapter::ClassMethods
1313
def define_assertion_delegators_with_removed
1414
define_assertion_delegators_without_removed

0 commit comments

Comments
 (0)