Fixed failing tests

This commit is contained in:
Phil Hughes 2016-06-07 12:02:37 +01:00
parent dc6ec2adf8
commit a6345c1401
1 changed files with 4 additions and 2 deletions

View File

@ -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