diff options
author | blackst0ne <blackst0ne.ru@gmail.com> | 2018-04-02 19:59:31 +1100 |
---|---|---|
committer | blackst0ne <blackst0ne.ru@gmail.com> | 2018-04-02 19:59:31 +1100 |
commit | f9e5ebfc9a7902789feff0b1f4fad1424435224b (patch) | |
tree | 668b901b45e47101902edf3f41d9d776948f723c | |
parent | e84d417073733eec7a898bc5eefc0c3deb683870 (diff) | |
download | gitlab-ce-blackst0ne-replace-spinach-project-issues-labels.feature.tar.gz |
Move `create_label` method inside `describe`blackst0ne-replace-spinach-project-issues-labels.feature
-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 |