diff options
author | Valery Sizov <valery@gitlab.com> | 2015-03-10 15:13:38 +0000 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2015-03-10 15:13:38 +0000 |
commit | 52a12893747ddac4a38dfa5becd3231e5092619c (patch) | |
tree | 87af3def2d915fa10c972ce42ba63d43a130006e | |
parent | c95dfd87376bfe3913def89a34b47ad629e96073 (diff) | |
parent | d386b2ab15ce6489eb7df8d9f7f29fbd248a42dc (diff) | |
download | gitlab-ci-52a12893747ddac4a38dfa5becd3231e5092619c.tar.gz |
Merge branch 'deploy_integration_tests' into 'master'
Feature test for deploy job
Fixes #164
See merge request !135
-rw-r--r-- | spec/features/jobs_spec.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/features/jobs_spec.rb b/spec/features/jobs_spec.rb index c934ecb..5091df8 100644 --- a/spec/features/jobs_spec.rb +++ b/spec/features/jobs_spec.rb @@ -23,4 +23,14 @@ describe "Jobs" do it { page.should have_content 'successfully updated'} end end + + describe "GET /projects/:id/jobs/deploy_jobs" do + before do + visit deploy_jobs_project_jobs_path(@project) + end + + it { page.should have_content @project.name } + it { page.should have_link 'Add a job' } + it { page.should have_content 'Deploy jobs are scripts you want CI to run on succeeding all parallel builds' } + end end |