diff --git a/test/gollum/views/test_locale_helper.rb b/test/gollum/views/test_locale_helper.rb index 18ce4be7..926f628a 100644 --- a/test/gollum/views/test_locale_helper.rb +++ b/test/gollum/views/test_locale_helper.rb @@ -106,7 +106,7 @@ describe Precious::Views::LocaleHelpers do end it "does not return translation keys under other classes" do - other_i18n_keys = I18n.t("nonexistant_test_class").keys + other_i18n_keys = I18n.t("nonexistent_test_class").keys _(subject.keys).wont_include other_i18n_keys end diff --git a/test/support/locales/en.yml b/test/support/locales/en.yml index 7dc9de0f..823af7c7 100644 --- a/test/support/locales/en.yml +++ b/test/support/locales/en.yml @@ -4,5 +4,5 @@ en: full: Author %{author} is from %{location} has_invalid_argument: Welcome to %{no_matching_method} hello_world: Hello world - nonexistant_test_class: + nonexistent_test_class: never_called: Never called diff --git a/test/test_app.rb b/test/test_app.rb index b83325c1..30e5e8fc 100644 --- a/test/test_app.rb +++ b/test/test_app.rb @@ -205,8 +205,8 @@ context "Frontend" do assert_equal last_response.status, 500 end - test "rename page catches non-existent target" do - # Non-existent rename target + test "rename page catches nonexistent target" do + # Nonexistent rename target post "/gollum/rename/B", :message => 'def' assert !last_response.ok? assert_equal last_response.status, 500