summaryrefslogtreecommitdiff
path: root/spec/features/security/project_access_spec.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-08 12:22:09 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-08 12:22:09 +0300
commit4537623d12fb7372262267be5d6ec3b41f3f476c (patch)
treeccd0494b1112c388114e032f994505a2344123be /spec/features/security/project_access_spec.rb
parentc7e490ebd5ab69fe043cd39145bd6ef3850a6921 (diff)
parent1a83fea711961844adc7ddb21ce007143fefc144 (diff)
downloadgitlab-ce-4537623d12fb7372262267be5d6ec3b41f3f476c.tar.gz
Merge branch 'master' into karlhungus-mr-on-fork
Conflicts: app/contexts/filter_context.rb app/contexts/search_context.rb app/models/merge_request.rb app/models/note.rb app/views/shared/_merge_requests.html.haml spec/controllers/commit_controller_spec.rb spec/services/notification_service_spec.rb
Diffstat (limited to 'spec/features/security/project_access_spec.rb')
-rw-r--r--spec/features/security/project_access_spec.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/spec/features/security/project_access_spec.rb b/spec/features/security/project_access_spec.rb
index 2071a014be6..d0964a947db 100644
--- a/spec/features/security/project_access_spec.rb
+++ b/spec/features/security/project_access_spec.rb
@@ -175,8 +175,8 @@ describe "Application access" do
it { should be_denied_for :visitor }
end
- describe "GET /project_code/repository" do
- subject { project_repository_path(project) }
+ describe "GET /project_code/branches/recent" do
+ subject { recent_project_branches_path(project) }
it { should be_allowed_for master }
it { should be_allowed_for reporter }
@@ -186,7 +186,7 @@ describe "Application access" do
it { should be_denied_for :visitor }
end
- describe "GET /project_code/repository/branches" do
+ describe "GET /project_code/branches" do
subject { project_branches_path(project) }
before do
@@ -202,7 +202,7 @@ describe "Application access" do
it { should be_denied_for :visitor }
end
- describe "GET /project_code/repository/tags" do
+ describe "GET /project_code/tags" do
subject { project_tags_path(project) }
before do
@@ -417,8 +417,8 @@ describe "Application access" do
it { should be_denied_for :visitor }
end
- describe "GET /project_code/repository" do
- subject { project_repository_path(project) }
+ describe "GET /project_code/branches/recent" do
+ subject { recent_project_branches_path(project) }
it { should be_allowed_for master }
it { should be_allowed_for reporter }
@@ -428,7 +428,7 @@ describe "Application access" do
it { should be_denied_for :visitor }
end
- describe "GET /project_code/repository/branches" do
+ describe "GET /project_code/branches" do
subject { project_branches_path(project) }
before do
@@ -444,7 +444,7 @@ describe "Application access" do
it { should be_denied_for :visitor }
end
- describe "GET /project_code/repository/tags" do
+ describe "GET /project_code/tags" do
subject { project_tags_path(project) }
before do