From c51562b7384a1e7280ee327d5700ba838c59af53 Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Tue, 9 Aug 2022 23:03:27 -0400 Subject: [PATCH] spelling: nonexistent Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com> --- test/gollum/views/test_locale_helper.rb | 2 +- test/support/locales/en.yml | 2 +- test/test_app.rb | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) 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