-
- Downloads
Fix static translations in integrations
We need to wrap these in a proc, otherwise they're evaluated when the class is loaded and will always be in English. For the CI integrations this was an oversight when we refactored them to use the DSL in !86453. The validation message in Jira was a pre-existing bug which we noticed due to the improvements to the `StaticTranslationDefinition` cop in !89945. This also adds missing specs for all Jira validations. Changelog: fixed
parent
90a0d592
No related branches found
No related tags found
Showing
- .rubocop_todo/cop/static_translation_definition.yml 0 additions, 7 deletions.rubocop_todo/cop/static_translation_definition.yml
- app/models/integrations/bamboo.rb 10 additions, 10 deletionsapp/models/integrations/bamboo.rb
- app/models/integrations/buildkite.rb 7 additions, 5 deletionsapp/models/integrations/buildkite.rb
- app/models/integrations/drone_ci.rb 4 additions, 4 deletionsapp/models/integrations/drone_ci.rb
- app/models/integrations/jenkins.rb 7 additions, 7 deletionsapp/models/integrations/jenkins.rb
- app/models/integrations/jira.rb 4 additions, 1 deletionapp/models/integrations/jira.rb
- app/models/integrations/mock_ci.rb 1 addition, 1 deletionapp/models/integrations/mock_ci.rb
- app/models/integrations/teamcity.rb 5 additions, 5 deletionsapp/models/integrations/teamcity.rb
- spec/models/integrations/jira_spec.rb 55 additions, 0 deletionsspec/models/integrations/jira_spec.rb
-
mentioned in merge request kubitus-project/kubitus-installer!1153 (merged)
Please register or sign in to comment