diff options
author | Stan Hu <stanhu@gmail.com> | 2015-05-27 05:07:44 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2015-05-27 05:07:44 -0700 |
commit | ab88b7da19168c66404dfa9dfeb12110ccb8ceea (patch) | |
tree | c53bda448881f0efbce6e282558470f939c792d9 /features/project | |
parent | 4146ce559e8858604ec91d663eac15f9e5379ff0 (diff) | |
download | gitlab-ce-ab88b7da19168c66404dfa9dfeb12110ccb8ceea.tar.gz |
Fix project snippets button appearing when it is disabled
Closes #1705
Diffstat (limited to 'features/project')
-rw-r--r-- | features/project/project.feature | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/features/project/project.feature b/features/project/project.feature index ef11bceed11..56ae5c78d01 100644 --- a/features/project/project.feature +++ b/features/project/project.feature @@ -68,3 +68,8 @@ Feature: Project When I visit project "Shop" page Then I should not see "New Issue" button And I should not see "New Merge Request" button + + Scenario: I should not see Project snippets + Given I disable snippets in project + When I visit project "Shop" page + Then I should not see "Snippets" button |