We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 438101e commit 534333bCopy full SHA for 534333b
spec/rspec/rails/assertion_adapter_spec.rb
@@ -26,9 +26,7 @@
26
expect(methods).not_to include("message")
27
end
28
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.
31
it 'does not leak TestUnit specific methods into the AssertionDelegator' do
32
- expect(methods.map(&:to_sym)).to_not include(:build_message)
+ expect(methods).to_not include(:build_message)
33
34
0 commit comments