debian-mirror-gitlab/features/snippets/discover.feature

14 lines
501 B
Gherkin
Raw Normal View History

2014-09-02 18:07:02 +05:30
@snippets
2015-04-26 12:48:37 +05:30
Feature: Snippets Discover
2014-09-02 18:07:02 +05:30
Background:
Given I sign in as a user
And I have public "Personal snippet one" snippet
And I have private "Personal snippet private" snippet
2015-04-26 12:48:37 +05:30
And I have internal "Personal snippet internal" snippet
2014-09-02 18:07:02 +05:30
Scenario: I should see snippets
Given I visit snippets page
Then I should see "Personal snippet one" in snippets
2015-04-26 12:48:37 +05:30
And I should see "Personal snippet internal" in snippets
2014-09-02 18:07:02 +05:30
And I should not see "Personal snippet private" in snippets