diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-08 13:53:30 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-02-11 10:29:15 +0100 |
commit | d51e8e1b77d78dd80a9fb9d362219b8b47b83904 (patch) | |
tree | 310080a7327ef2790a2c005d8cb67bed7c13d9de /features | |
parent | 7e1453f2f01d40f53d927ff43aae1baae3b4b272 (diff) | |
download | gitlab-ce-d51e8e1b77d78dd80a9fb9d362219b8b47b83904.tar.gz |
Inherit build badge access permissions from project
Diffstat (limited to 'features')
-rw-r--r-- | features/project/builds/badge.feature | 3 | ||||
-rw-r--r-- | features/steps/project/builds/badge.rb | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/features/project/builds/badge.feature b/features/project/builds/badge.feature index 64263b2f538..9eb34475e68 100644 --- a/features/project/builds/badge.feature +++ b/features/project/builds/badge.feature @@ -1,6 +1,7 @@ Feature: Project Builds Badge Background: - Given project exists in some group namespace + Given I sign in as a user + And I own a project And project has CI enabled And project has a recent build diff --git a/features/steps/project/builds/badge.rb b/features/steps/project/builds/badge.rb index 0ceb4ddcd25..65f5e0f766f 100644 --- a/features/steps/project/builds/badge.rb +++ b/features/steps/project/builds/badge.rb @@ -1,4 +1,5 @@ class Spinach::Features::ProjectBuildsBadge < Spinach::FeatureSteps + include SharedAuthentication include SharedProject include SharedBuilds include RepoHelpers |