Index: test/unit/lib/redmine/field_format/link_format_test.rb =================================================================== --- test/unit/lib/redmine/field_format/link_format_test.rb (revision 12406) +++ test/unit/lib/redmine/field_format/link_format_test.rb (working copy) @@ -29,7 +29,7 @@ assert_equal 'bar', 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 @@ assert_equal 'bar', 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 @@ assert_equal 'bar', 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")