diff options
-rw-r--r-- | spec/features/projects/labels/user_creates_labels_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/features/projects/labels/user_creates_labels_spec.rb b/spec/features/projects/labels/user_creates_labels_spec.rb index c7f6fb4186c..9fd7f3ee775 100644 --- a/spec/features/projects/labels/user_creates_labels_spec.rb +++ b/spec/features/projects/labels/user_creates_labels_spec.rb @@ -77,12 +77,12 @@ describe "User creates labels" do include_examples "label creation" end -end -private + private -def create_label(title, color = "#F95610") - fill_in("Title", with: title) - fill_in("Background color", with: color) - click_button("Create label") + def create_label(title, color = "#F95610") + fill_in("Title", with: title) + fill_in("Background color", with: color) + click_button("Create label") + end end |