diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-03-10 17:11:36 +0200 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-03-10 17:11:36 +0200 |
commit | d386b2ab15ce6489eb7df8d9f7f29fbd248a42dc (patch) | |
tree | b727104420ca5717af63ad495915ca74b7149d45 /spec | |
parent | 96e81bddd513b1d4d9e558e13fcf4c5d5f6b141e (diff) | |
download | gitlab-ci-d386b2ab15ce6489eb7df8d9f7f29fbd248a42dc.tar.gz |
feature test for deploy job
Diffstat (limited to 'spec')
-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 |