Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-06-07 14:02:37 +0300
committerPhil Hughes <me@iamphill.com>2016-06-10 14:07:51 +0300
commita6345c14011e9ffa8cca45f9058a1529c7be5b62 (patch)
tree5f038a8600070d113f3d02bc15b0a098745ae3a1 /spec/features
parentdc6ec2adf82c2b2fe1ab6ef076432fd741d3afbb (diff)
Fixed failing tests
Diffstat (limited to 'spec/features')
-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