mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Ruby 1.8: Y U NO FUN?
This commit is contained in:
parent
dd41387f34
commit
9198372421
1 changed files with 3 additions and 1 deletions
|
@ -33,7 +33,9 @@ module ActionDispatch
|
|||
k = Class.new
|
||||
mw = Middleware.new k
|
||||
assert_operator mw, :==, k
|
||||
assert_operator mw, :!=, Class.new
|
||||
|
||||
result = mw != Class.new
|
||||
assert result, 'middleware should not equal other anon class'
|
||||
end
|
||||
|
||||
def test_double_equal_works_with_strings
|
||||
|
|
Loading…
Reference in a new issue