summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-12-15 08:49:45 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-12-15 08:49:45 +0000
commit3d36b7d91ab029ff829e2aa1484eba9201a54bfc (patch)
tree0289924d125c7526ef79eebb748a85fb1ba97a9c
parent35d1ef2532315e9415adc8d6ef68901f243a11d9 (diff)
downloadredmine-3d36b7d91ab029ff829e2aa1484eba9201a54bfc.tar.gz
redmine-3d36b7d91ab029ff829e2aa1484eba9201a54bfc.zip
Typos in test names (#15701).
Patch by Mischa The Evil. git-svn-id: http://svn.redmine.org/redmine/trunk@12412 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--test/unit/lib/redmine/field_format/link_format_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/unit/lib/redmine/field_format/link_format_test.rb b/test/unit/lib/redmine/field_format/link_format_test.rb
index 648141282..339d984aa 100644
--- a/test/unit/lib/redmine/field_format/link_format_test.rb
+++ b/test/unit/lib/redmine/field_format/link_format_test.rb
@@ -29,7 +29,7 @@ class Redmine::LinkFieldFormatTest < ActionView::TestCase
assert_equal '<a href="http://foo/bar">bar</a>', field.format.formatted_custom_value(self, custom_value, true)
end
- def test_link_field_should_substitue_object_id_in_url
+ def test_link_field_should_substitute_object_id_in_url
object = Issue.new
object.stubs(:id).returns(10)
@@ -40,7 +40,7 @@ class Redmine::LinkFieldFormatTest < ActionView::TestCase
assert_equal '<a href="http://foo/10">bar</a>', field.format.formatted_custom_value(self, custom_value, true)
end
- def test_link_field_should_substitue_project_id_in_url
+ def test_link_field_should_substitute_project_id_in_url
project = Project.new
project.stubs(:id).returns(52)
object = Issue.new
@@ -53,7 +53,7 @@ class Redmine::LinkFieldFormatTest < ActionView::TestCase
assert_equal '<a href="http://foo/52">bar</a>', field.format.formatted_custom_value(self, custom_value, true)
end
- def test_link_field_should_substitue_regexp_groups
+ def test_link_field_should_substitute_regexp_groups
field = IssueCustomField.new(:field_format => 'link', :regexp => /^(.+)-(.+)$/, :url_pattern => 'http://foo/%m2%/%m1%')
custom_value = CustomValue.new(:custom_field => field, :customized => Issue.new, :value => "56-142")