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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-24 15:10:36 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-05-24 15:10:36 +0400
commit1bb9aeb565fca50304881e36488b202455bdddd2 (patch)
tree6183996de1d4eacecfb930be127644e4eb4d11b7 /spec/features/security
parent7c6a58a756cc3bff78a6d0a0ca8abfe9b2c147da (diff)
Fix specs. Fix note form reset after submit
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/features/security')
-rw-r--r--spec/features/security/project/internal_access_spec.rb11
-rw-r--r--spec/features/security/project/private_access_spec.rb11
-rw-r--r--spec/features/security/project/public_access_spec.rb11
3 files changed, 0 insertions, 33 deletions
diff --git a/spec/features/security/project/internal_access_spec.rb b/spec/features/security/project/internal_access_spec.rb
index f6ab47ed91b..eb8422df599 100644
--- a/spec/features/security/project/internal_access_spec.rb
+++ b/spec/features/security/project/internal_access_spec.rb
@@ -190,17 +190,6 @@ describe "Internal Project Access", feature: true do
it { should be_denied_for :visitor }
end
- describe "GET /:project_path/branches/recent" do
- subject { recent_project_branches_path(project) }
-
- it { should be_allowed_for master }
- it { should be_allowed_for reporter }
- it { should be_allowed_for :admin }
- it { should be_allowed_for guest }
- it { should be_allowed_for :user }
- it { should be_denied_for :visitor }
- end
-
describe "GET /:project_path/branches" do
subject { project_branches_path(project) }
diff --git a/spec/features/security/project/private_access_spec.rb b/spec/features/security/project/private_access_spec.rb
index 8a0fcb8e9ff..186ad350469 100644
--- a/spec/features/security/project/private_access_spec.rb
+++ b/spec/features/security/project/private_access_spec.rb
@@ -168,17 +168,6 @@ describe "Private Project Access", feature: true do
it { should be_denied_for :visitor }
end
- describe "GET /:project_path/branches/recent" do
- subject { recent_project_branches_path(project) }
-
- it { should be_allowed_for master }
- it { should be_allowed_for reporter }
- it { should be_allowed_for :admin }
- it { should be_denied_for guest }
- it { should be_denied_for :user }
- it { should be_denied_for :visitor }
- end
-
describe "GET /:project_path/branches" do
subject { project_branches_path(project) }
diff --git a/spec/features/security/project/public_access_spec.rb b/spec/features/security/project/public_access_spec.rb
index eb511bfefe0..f5d1cf7b971 100644
--- a/spec/features/security/project/public_access_spec.rb
+++ b/spec/features/security/project/public_access_spec.rb
@@ -195,17 +195,6 @@ describe "Public Project Access", feature: true do
it { should be_denied_for :visitor }
end
- describe "GET /:project_path/branches/recent" do
- subject { recent_project_branches_path(project) }
-
- it { should be_allowed_for master }
- it { should be_allowed_for reporter }
- it { should be_allowed_for :admin }
- it { should be_allowed_for guest }
- it { should be_allowed_for :user }
- it { should be_allowed_for :visitor }
- end
-
describe "GET /:project_path/branches" do
subject { project_branches_path(project) }