diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-05 18:29:44 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-08-05 18:29:44 +0300 |
commit | 1e3f09b21f124b15eebf71a23c12cfa41f1e5372 (patch) | |
tree | 6592a0818617846f45c32b7957dca57293c42bcc /spec/features | |
parent | 128ef337078298966e499365e7dcb6272606b3b5 (diff) | |
download | gitlab-ce-1e3f09b21f124b15eebf71a23c12cfa41f1e5372.tar.gz |
Fix tests
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/security/project_access_spec.rb | 16 |
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 |