summaryrefslogtreecommitdiff
path: root/spec/features/builds_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/builds_spec.rb')
-rw-r--r--spec/features/builds_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/features/builds_spec.rb b/spec/features/builds_spec.rb
index cb94432dbd0..0c865e915cb 100644
--- a/spec/features/builds_spec.rb
+++ b/spec/features/builds_spec.rb
@@ -237,8 +237,10 @@ describe "Builds" do
it { expect(page.status_code).to eq(200) }
end
- it 'sends the right headers' do
- click_link 'Raw'
+ context "Build from other project" do
+ before do
+ visit status_namespace_project_build_path(@project.namespace, @project, @build2)
+ end
it { expect(page.status_code).to eq(404) }
end