Skip to content

Commit

Permalink
Update test/controllers/moirai/translation_files_controller_test.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
CuddlyBunion341 authored Nov 13, 2024
1 parent 65da948 commit 7d5d733
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
Expand Down

0 comments on commit 7d5d733

Please sign in to comment.