Commit a6345c14 authored by Phil Hughes's avatar Phil Hughes

Fixed failing tests

parent dc6ec2ad
...@@ -237,8 +237,10 @@ describe "Builds" do ...@@ -237,8 +237,10 @@ describe "Builds" do
it { expect(page.status_code).to eq(200) } it { expect(page.status_code).to eq(200) }
end end
it 'sends the right headers' do context "Build from other project" do
click_link 'Raw' before do
visit status_namespace_project_build_path(@project.namespace, @project, @build2)
end
it { expect(page.status_code).to eq(404) } it { expect(page.status_code).to eq(404) }
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment