Commit c4301ce04917e37a9f12338b7cfb3b1fa30139ba

Authored by Dmitriy Zaporozhets
1 parent 132caae7

update tests with new routing

features/steps/shared/paths.rb
... ... @@ -217,7 +217,7 @@ module SharedPaths
217 217 end
218 218  
219 219 step 'I visit project tags page' do
220   - visit tags_project_repository_path(@project)
  220 + visit project_tags_path(@project)
221 221 end
222 222  
223 223 step 'I visit project commit page' do
... ...
spec/features/security/project_access_spec.rb
... ... @@ -203,7 +203,7 @@ describe "Application access" do
203 203 end
204 204  
205 205 describe "GET /project_code/repository/tags" do
206   - subject { tags_project_repository_path(project) }
  206 + subject { project_tags_path(project) }
207 207  
208 208 before do
209 209 # Speed increase
... ... @@ -445,7 +445,7 @@ describe "Application access" do
445 445 end
446 446  
447 447 describe "GET /project_code/repository/tags" do
448   - subject { tags_project_repository_path(project) }
  448 + subject { project_tags_path(project) }
449 449  
450 450 before do
451 451 # Speed increase
... ...