Bläddra i källkod

Fix typo in test names in application_helper_test.rb: Change "redner" to "render" (#39527).


git-svn-id: https://svn.redmine.org/redmine/trunk@22465 e93f8b46-1217-0410-a6f0-8f06a7374b81
pull/147/head
Go MAEDA 6 månader sedan
förälder
incheckning
d6b86ca53d
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2
    2
      test/helpers/application_helper_test.rb

+ 2
- 2
test/helpers/application_helper_test.rb Visa fil

@@ -2186,12 +2186,12 @@ class ApplicationHelperTest < Redmine::HelperTest
assert_match(/name="new_issue-[a-z0-9]{8}"/, labelled_form_for(Issue.new){})
end

def test_redner_if_exist_should_be_render_partial
def test_render_if_exist_should_be_render_partial
controller.prepend_view_path "test/fixtures/views"
assert_equal "partial html\n", render_if_exist(:partial => 'partial')
end

def test_redner_if_exist_should_be_render_nil
def test_render_if_exist_should_be_render_nil
controller.prepend_view_path "test/fixtures/views"
assert_nil render_if_exist(:partial => 'non_exist_partial')
end

Laddar…
Avbryt
Spara