Skip to content

Commit

Permalink
[#57816] disabled locale spec temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
Kharonus committed Oct 15, 2024
1 parent cbf338b commit ce24b63
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,12 @@
expect(result.errors.to_h).to include(label: ["must be unique within the same hierarchy level"])
end

context "if locale is set to 'de'" do
context "if locale is set to 'de'", skip: "Skipped until the german localization is available" do
it "is invalid with localized validation errors" do
I18n.with_locale(:de) do
result = subject.call(params)
expect(result).to be_failure
# TODO: This needs to be switched to german once the german translation is merged.
expect(result.errors.to_h).to include(label: ["must be unique within the same hierarchy level"])
expect(result.errors.to_h).to include(label: ["muss einzigartig innerhalb derselben Hierarchieebene sein"])
end
end
end
Expand Down

0 comments on commit ce24b63

Please sign in to comment.