Commit c4301ce04917e37a9f12338b7cfb3b1fa30139ba
1 parent
132caae7
Exists in
master
and in
4 other branches
update tests with new routing
Showing
2 changed files
with
3 additions
and
3 deletions
Show diff stats
features/steps/shared/paths.rb
@@ -217,7 +217,7 @@ module SharedPaths | @@ -217,7 +217,7 @@ module SharedPaths | ||
217 | end | 217 | end |
218 | 218 | ||
219 | step 'I visit project tags page' do | 219 | step 'I visit project tags page' do |
220 | - visit tags_project_repository_path(@project) | 220 | + visit project_tags_path(@project) |
221 | end | 221 | end |
222 | 222 | ||
223 | step 'I visit project commit page' do | 223 | step 'I visit project commit page' do |
spec/features/security/project_access_spec.rb
@@ -203,7 +203,7 @@ describe "Application access" do | @@ -203,7 +203,7 @@ describe "Application access" do | ||
203 | end | 203 | end |
204 | 204 | ||
205 | describe "GET /project_code/repository/tags" do | 205 | describe "GET /project_code/repository/tags" do |
206 | - subject { tags_project_repository_path(project) } | 206 | + subject { project_tags_path(project) } |
207 | 207 | ||
208 | before do | 208 | before do |
209 | # Speed increase | 209 | # Speed increase |
@@ -445,7 +445,7 @@ describe "Application access" do | @@ -445,7 +445,7 @@ describe "Application access" do | ||
445 | end | 445 | end |
446 | 446 | ||
447 | describe "GET /project_code/repository/tags" do | 447 | describe "GET /project_code/repository/tags" do |
448 | - subject { tags_project_repository_path(project) } | 448 | + subject { project_tags_path(project) } |
449 | 449 | ||
450 | before do | 450 | before do |
451 | # Speed increase | 451 | # Speed increase |