Permalink
Browse files

Merge pull request #1830 from arunagw/enum_fixes

Fixed Failing test : It should be Enumerable::Enumerator
  • Loading branch information...
2 parents 87b548c + deb60a7 commit 58391220597098d07995fb8c4ca851b5ce4abc22 @josevalim josevalim committed Jun 23, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/test/safe_buffer_test.rb
@@ -106,6 +106,6 @@ def setup
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

0 comments on commit 5839122

Please sign in to comment.