From 1e3f09b21f124b15eebf71a23c12cfa41f1e5372 Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 5 Aug 2013 18:29:44 +0300 Subject: Fix tests --- spec/features/security/project_access_spec.rb | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'spec/features/security/project_access_spec.rb') 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 -- cgit v1.2.1