Skip to content

Commit 1f0fb32

Browse files
committed
for clarity drop outdated support for rails < 6.0
1 parent 8ce89b8 commit 1f0fb32

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/rspec/rails/example/system_example_group.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,7 @@ def driven_by(driver, **driver_options, &blk)
108108
orig_stdout = $stdout
109109
$stdout = StringIO.new
110110
begin
111-
if ::Rails::VERSION::STRING >= '6.0'
112-
original_before_teardown.bind(self).call
113-
end
111+
original_before_teardown.bind(self).call
114112
original_after_teardown.bind(self).call
115113
ensure
116114
myio = $stdout

0 commit comments

Comments
 (0)