1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #1830 from arunagw/enum_fixes

Fixed Failing test : It should be Enumerable::Enumerator
This commit is contained in:
José Valim 2011-06-23 05:51:00 -07:00
commit 5839122059

View file

@ -106,6 +106,6 @@ class SafeBufferTest < ActiveSupport::TestCase
end
test "should not fail if the returned object is not a string" do
assert_kind_of Enumerator, @buffer.gsub(/.*/)
assert_kind_of NilClass, @buffer.slice("chipchop")
end
end