spelling: nonexistent
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
+2
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user