Fix tests for project removing
This commit is contained in:
parent
9839d106c4
commit
4b1bb42bf7
2 changed files with 1 additions and 6 deletions
|
@ -105,7 +105,7 @@ class ProjectsController < ApplicationController
|
|||
if request.referer.include?('/admin')
|
||||
redirect_to admin_namespaces_projects_path
|
||||
else
|
||||
redirect_to projects_dashboard_path
|
||||
redirect_to dashboard_path
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -10,8 +10,3 @@ Feature: Dashboard Archived Projects
|
|||
Scenario: I should see non-archived projects on dashboard
|
||||
Then I should see "Shop" project link
|
||||
And I should not see "Forum" project link
|
||||
|
||||
Scenario: I should see all projects on projects page
|
||||
And I visit dashboard projects page
|
||||
Then I should see "Shop" project link
|
||||
And I should see "Forum" project link
|
||||
|
|
Loading…
Reference in a new issue