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:
authorJames Edwards-Jones <jedwardsjones@gitlab.com>2017-03-16 01:29:07 +0300
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-03-31 21:37:01 +0300
commit91ed8ed687ee9edbda0098475e66ad41f886d7a5 (patch)
tree7a446fa1048484d2ccb25a37e7ce650884b7d76f /spec/controllers
parent1a416a42f1c1b876ecd96687e41696bc915cc2c2 (diff)
Protected tags copy/paste from protected branches
Should provide basic CRUD backend for frontend to work from. Doesn’t include frontend, API, or the internal API used from gitlab-shell
Diffstat (limited to 'spec/controllers')
-rw-r--r--spec/controllers/projects/protected_tags_controller_spec.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/controllers/projects/protected_tags_controller_spec.rb b/spec/controllers/projects/protected_tags_controller_spec.rb
new file mode 100644
index 00000000000..729017c1483
--- /dev/null
+++ b/spec/controllers/projects/protected_tags_controller_spec.rb
@@ -0,0 +1,10 @@
+require('spec_helper')
+
+describe Projects::ProtectedTagsController do
+ # describe "GET #index" do
+ # let(:project) { create(:project_empty_repo, :public) }
+ # it "redirects empty repo to projects page" do
+ # get(:index, namespace_id: project.namespace.to_param, project_id: project)
+ # end
+ # end
+end