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:
Diffstat (limited to 'spec/features/admin/admin_projects_spec.rb')
-rw-r--r--spec/features/admin/admin_projects_spec.rb34
1 files changed, 0 insertions, 34 deletions
diff --git a/spec/features/admin/admin_projects_spec.rb b/spec/features/admin/admin_projects_spec.rb
deleted file mode 100644
index 101d955d693..00000000000
--- a/spec/features/admin/admin_projects_spec.rb
+++ /dev/null
@@ -1,34 +0,0 @@
-require 'spec_helper'
-
-describe "Admin::Projects", feature: true do
- before do
- @project = create(:project)
- login_as :admin
- end
-
- describe "GET /admin/projects" do
- before do
- visit admin_namespaces_projects_path
- end
-
- it "should be ok" do
- expect(current_path).to eq(admin_namespaces_projects_path)
- end
-
- it "should have projects list" do
- expect(page).to have_content(@project.name)
- end
- end
-
- describe "GET /admin/projects/:id" do
- before do
- visit admin_namespaces_projects_path
- click_link "#{@project.name}"
- end
-
- it "should have project info" do
- expect(page).to have_content(@project.path)
- expect(page).to have_content(@project.name)
- end
- end
-end