aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/safe_buffer_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/safe_buffer_test.rb')
-rw-r--r--activesupport/test/safe_buffer_test.rb2
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