Skip to content

Commit 534333b

Browse files
committed
Update spec removing support for 1.8.7
1 parent 438101e commit 534333b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

spec/rspec/rails/assertion_adapter_spec.rb

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,7 @@
2626
expect(methods).not_to include("message")
2727
end
2828

29-
# In Ruby <= 1.8.7 Object#methods returns Strings instead of Symbols. They
30-
# are all converted to Symbols to ensure we always compare them correctly.
3129
it 'does not leak TestUnit specific methods into the AssertionDelegator' do
32-
expect(methods.map(&:to_sym)).to_not include(:build_message)
30+
expect(methods).to_not include(:build_message)
3331
end
3432
end

0 commit comments

Comments
 (0)