diff options
author | Rémy Coutable <remy@rymai.me> | 2017-09-18 09:54:02 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-09-18 09:54:02 +0000 |
commit | bff004d44b7af2cb5be608d7a74d2429f23782e1 (patch) | |
tree | 8b142327b5f4deb001a6b9fa070dc8fc35edec57 /features/project | |
parent | 0a60758b498c868f121bb8a203a3e3da35639628 (diff) | |
parent | 5d3165d41e04af6b3f188c96bb868a886c1b6145 (diff) | |
download | gitlab-ce-bff004d44b7af2cb5be608d7a74d2429f23782e1.tar.gz |
Merge branch 'replace_project_snippets.feature' into 'master'
Replace the 'project/snippets.feature' spinach test with an rspec analog
See merge request gitlab-org/gitlab-ce!14326
Diffstat (limited to 'features/project')
-rw-r--r-- | features/project/snippets.feature | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/features/project/snippets.feature b/features/project/snippets.feature deleted file mode 100644 index 50bc4c93df3..00000000000 --- a/features/project/snippets.feature +++ /dev/null @@ -1,35 +0,0 @@ -Feature: Project Snippets - Background: - Given I sign in as a user - And I own project "Shop" - And project "Shop" have "Snippet one" snippet - And project "Shop" have no "Snippet two" snippet - And I visit project "Shop" snippets page - - Scenario: I should see snippets - Given I visit project "Shop" snippets page - Then I should see "Snippet one" in snippets - And I should not see "Snippet two" in snippets - - @javascript - Scenario: I create new project snippet - Given I click link "New snippet" - And I submit new snippet "Snippet three" - Then I should see snippet "Snippet three" - - @javascript - Scenario: I comment on a snippet "Snippet one" - Given I visit snippet page "Snippet one" - And I leave a comment like "Good snippet!" - Then I should see comment "Good snippet!" - - Scenario: I update "Snippet one" - Given I visit snippet page "Snippet one" - And I click link "Edit" - And I submit new title "Snippet new title" - Then I should see "Snippet new title" - - Scenario: I destroy "Snippet one" - Given I visit snippet page "Snippet one" - And I click link "Delete" - Then I should not see "Snippet one" in snippets |