diff --git a/test/controllers/moirai/translation_files_controller_test.rb b/test/controllers/moirai/translation_files_controller_test.rb index a6e3eb0..8584c67 100644 --- a/test/controllers/moirai/translation_files_controller_test.rb +++ b/test/controllers/moirai/translation_files_controller_test.rb @@ -80,7 +80,7 @@ class TranslationFilesControllerTest < ActionDispatch::IntegrationTest assert_equal count_before - 1, Moirai::Translation.count end - test "update translation with blank value json" do + test "update translation with blank value JSON" do post translation_files_url, params: {translation: {key: "locales.german", locale: "de", value: ""}}, as: :json assert_response :ok assert_equal "Deutsch", JSON.parse(response.body)["fallback_translation"]