summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-05 18:29:44 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2013-08-05 18:29:44 +0300
commit1e3f09b21f124b15eebf71a23c12cfa41f1e5372 (patch)
tree6592a0818617846f45c32b7957dca57293c42bcc /spec/features
parent128ef337078298966e499365e7dcb6272606b3b5 (diff)
downloadgitlab-ce-1e3f09b21f124b15eebf71a23c12cfa41f1e5372.tar.gz
Fix tests
Diffstat (limited to 'spec/features')
-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 6bc04726a9d..d567fab9958 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