1
0
Fork 0
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:
Aaron Patterson 2011-03-02 09:43:27 -08:00
parent dd41387f34
commit 9198372421

View file

@ -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