aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYves Senn <yves.senn@gmail.com>2014-01-08 11:15:59 +0100
committerYves Senn <yves.senn@gmail.com>2014-01-08 11:15:59 +0100
commit40a83d740fafddcb3cad3b2c2dbfa3c446338d12 (patch)
tree833f432279c90d8e0c376699086d8538f880a63b
parente37f16444a00121bd3f36b86510621a3729146a5 (diff)
downloadrails-40a83d740fafddcb3cad3b2c2dbfa3c446338d12.tar.gz
rails-40a83d740fafddcb3cad3b2c2dbfa3c446338d12.tar.bz2
rails-40a83d740fafddcb3cad3b2c2dbfa3c446338d12.zip
typo fix in test name. [ci skip].
-rw-r--r--activesupport/test/core_ext/string_ext_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/string_ext_test.rb b/activesupport/test/core_ext/string_ext_test.rb
index 40dcaa044d..196dd1bce6 100644
--- a/activesupport/test/core_ext/string_ext_test.rb
+++ b/activesupport/test/core_ext/string_ext_test.rb
@@ -287,7 +287,7 @@ class StringAccessTest < ActiveSupport::TestCase
assert_equal 'x', 'x'.first
end
- test "#first with Fixnum, returns a substrung from the beginning to position" do
+ test "#first with Fixnum, returns a substring from the beginning to position" do
assert_equal "he", "hello".first(2)
assert_equal "", "hello".first(0)
assert_equal "hello", "hello".first(10)