diff options
author | José Valim <jose.valim@gmail.com> | 2011-06-23 05:51:00 -0700 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-06-23 05:51:00 -0700 |
commit | 58391220597098d07995fb8c4ca851b5ce4abc22 (patch) | |
tree | b348603c48cf108414f18cb2f248a2235794b0ca | |
parent | 87b548ccac8fd9b384a024a1374a2474e7c4d604 (diff) | |
parent | deb60a738cb887a4c4cfc8f7148b0a1be6123e77 (diff) | |
download | rails-58391220597098d07995fb8c4ca851b5ce4abc22.tar.gz rails-58391220597098d07995fb8c4ca851b5ce4abc22.tar.bz2 rails-58391220597098d07995fb8c4ca851b5ce4abc22.zip |
Merge pull request #1830 from arunagw/enum_fixes
Fixed Failing test : It should be Enumerable::Enumerator
-rw-r--r-- | activesupport/test/safe_buffer_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/safe_buffer_test.rb b/activesupport/test/safe_buffer_test.rb index 08cc00ac51..46bc0d7a34 100644 --- a/activesupport/test/safe_buffer_test.rb +++ b/activesupport/test/safe_buffer_test.rb @@ -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 |