Fixed Strainer#respond_to? to accept two parameters

This commit is contained in:
Joseph Anthony Pasquale Holsten
2008-11-02 06:24:07 -06:00
parent 3bfde37a53
commit c15a683063
2 changed files with 6 additions and 1 deletions
+5
View File
@@ -13,4 +13,9 @@ class StrainerTest < Test::Unit::TestCase
assert_equal true, strainer.respond_to?('size') # from the standard lib
end
def test_should_respond_to_two_parameters
strainer = Strainer.create(nil)
assert_equal true, strainer.respond_to?('size', false)
end
end