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:
commit
5839122059
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue