diff options
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 |