summaryrefslogtreecommitdiff
path: root/spec/features/pipelines_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/pipelines_spec.rb')
-rw-r--r--spec/features/pipelines_spec.rb25
1 files changed, 25 insertions, 0 deletions
diff --git a/spec/features/pipelines_spec.rb b/spec/features/pipelines_spec.rb
new file mode 100644
index 00000000000..1e0c58be979
--- /dev/null
+++ b/spec/features/pipelines_spec.rb
@@ -0,0 +1,25 @@
+require 'spec_helper'
+
+describe "Pipelines" do
+ include GitlabRoutingHelper
+
+ let(:project) { create(:empty_project) }
+ let(:user) { create(:user) }
+ before { login_as(user) }
+
+ describe "GET /:project/pipelines" do
+
+ end
+
+ describe "GET /:project/pipelines/:id" do
+ let(:pipeline) { create(:ci_commit, project: project, ref: 'master') }
+
+ before do
+ create(:ci_build, :success, commit: pipeline)
+ end
+
+ before { visit namespace_project_pipeline_path(project.namespace, project, pipeline) }
+
+ it { expect(page).to()}
+ end
+end