OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
fix failing tests due to string variable changes
Behrokh Satarnejadc98dcbfe8316
diff --git a/app/views/custom_styles/_interface.html.erb b/app/views/custom_styles/_interface.html.erbindex 3f376d9fd9c..8c9098a5377 100644--- a/app/views/custom_styles/_interface.html.erb+++ b/app/views/custom_styles/_interface.html.erb@@ -1,8 +1,8 @@<%= form_tag update_design_colors_path, method: :post, class: "form" do %><section class="form--section"><fieldset class="form--fieldset">- <legend class="form--fieldset-legend"><%= I18n.t(:label_interface_colours) %></legend>- <p> <%= t('label_interface_colours_description') %> </p>+ <legend class="form--fieldset-legend"><%= I18n.t(:label_interface_colors) %></legend>+ <p> <%= t('label_interface_colors_description') %> </p><% DesignColor.setables.each do |design_color| %><div class="form--field -required"><label class="form--label"><%= I18n.t("admin.custom_styles.colors.#{design_color.variable}") %>:</label>diff --git a/spec/features/custom_styles/tabs_navigation_spec.rb b/spec/features/custom_styles/tabs_navigation_spec.rbindex 2a277fa8be3..443c12cc6e7 100644--- a/spec/features/custom_styles/tabs_navigation_spec.rb+++ b/spec/features/custom_styles/tabs_navigation_spec.rb@@ -54,7 +54,7 @@ RSpec.describe "Tabs navigation and content switching on the admin/design page"it "shows interface tab" doexpect(page).to have_current_path custom_style_path(tab: "interface")- expect(page).to have_text I18n.t(:label_interface_colours)+ expect(page).to have_text I18n.t(:label_interface_colors)endit "selects a color theme and redirect to the interface tab" do