diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-17 16:57:42 +0100 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2016-01-17 16:57:42 +0100 |
commit | d9629a0cf03b80c8074b2ffa003d541193ca7097 (patch) | |
tree | 00efab91d3475c5f591ee50763c79dc83037c996 /features/steps/shared/builds.rb | |
parent | 59ffe978fd5e89b55c737a030314a0bc3fdb85bd (diff) | |
download | gitlab-ce-d9629a0cf03b80c8074b2ffa003d541193ca7097.tar.gz |
Add specs for CI Lint button exposed on a builds page
Diffstat (limited to 'features/steps/shared/builds.rb')
-rw-r--r-- | features/steps/shared/builds.rb | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/features/steps/shared/builds.rb b/features/steps/shared/builds.rb index f88b01af84e..92bf362879b 100644 --- a/features/steps/shared/builds.rb +++ b/features/steps/shared/builds.rb @@ -10,10 +10,14 @@ module SharedBuilds @build = create :ci_build, commit: ci_commit end - step 'I visit recent build summary page' do + step 'I visit recent build details page' do visit namespace_project_build_path(@project.namespace, @project, @build) end + step 'I visit project builds page' do + visit namespace_project_builds_path(@project.namespace, @project) + end + step 'recent build has artifacts available' do artifacts = Rails.root + 'spec/fixtures/ci_build_artifacts.zip' archive = fixture_file_upload(artifacts, 'application/zip') |