Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Using slice for instead of gsub to pass with 1.8.7

  • Loading branch information...
commit deb60a738cb887a4c4cfc8f7148b0a1be6123e77 1 parent 87b548c
@arunagw arunagw authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activesupport/test/safe_buffer_test.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.