Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/gitlab/form_builders/gitlab_ui_form_builder_spec.rb')
-rw-r--r--spec/lib/gitlab/form_builders/gitlab_ui_form_builder_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/lib/gitlab/form_builders/gitlab_ui_form_builder_spec.rb b/spec/lib/gitlab/form_builders/gitlab_ui_form_builder_spec.rb
index 98fb154fb05..b8829cc794c 100644
--- a/spec/lib/gitlab/form_builders/gitlab_ui_form_builder_spec.rb
+++ b/spec/lib/gitlab/form_builders/gitlab_ui_form_builder_spec.rb
@@ -127,8 +127,8 @@ RSpec.describe Gitlab::FormBuilders::GitlabUiFormBuilder do
form_builder.gitlab_ui_checkbox_component(
:view_diffs_file_by_file
) do |c|
- c.label { "Show one file at a time on merge request's Changes tab" }
- c.help_text { 'Instead of all the files changed, show only one file at a time.' }
+ c.with_label { "Show one file at a time on merge request's Changes tab" }
+ c.with_help_text { 'Instead of all the files changed, show only one file at a time.' }
end
end
@@ -208,8 +208,8 @@ RSpec.describe Gitlab::FormBuilders::GitlabUiFormBuilder do
:access_level,
:admin
) do |c|
- c.label { "Admin" }
- c.help_text { 'Administrators have access to all groups, projects, and users and can manage all features in this installation' }
+ c.with_label { "Admin" }
+ c.with_help_text { 'Administrators have access to all groups, projects, and users and can manage all features in this installation' }
end
end