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
|
end
|
||||||
|
|
||||||
it "does not return translation keys under other classes" do
|
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
|
_(subject.keys).wont_include other_i18n_keys
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -4,5 +4,5 @@ en:
|
|||||||
full: Author %{author} is from %{location}
|
full: Author %{author} is from %{location}
|
||||||
has_invalid_argument: Welcome to %{no_matching_method}
|
has_invalid_argument: Welcome to %{no_matching_method}
|
||||||
hello_world: Hello world
|
hello_world: Hello world
|
||||||
nonexistant_test_class:
|
nonexistent_test_class:
|
||||||
never_called: Never called
|
never_called: Never called
|
||||||
|
|||||||
+2
-2
@@ -205,8 +205,8 @@ context "Frontend" do
|
|||||||
assert_equal last_response.status, 500
|
assert_equal last_response.status, 500
|
||||||
end
|
end
|
||||||
|
|
||||||
test "rename page catches non-existent target" do
|
test "rename page catches nonexistent target" do
|
||||||
# Non-existent rename target
|
# Nonexistent rename target
|
||||||
post "/gollum/rename/B", :message => 'def'
|
post "/gollum/rename/B", :message => 'def'
|
||||||
assert !last_response.ok?
|
assert !last_response.ok?
|
||||||
assert_equal last_response.status, 500
|
assert_equal last_response.status, 500
|
||||||
|
|||||||
Reference in New Issue
Block a user