Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
4b1bb42b
Commit
4b1bb42b
authored
Mar 10, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tests for project removing
parent
9839d106
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
6 deletions
+1
-6
app/controllers/projects_controller.rb
app/controllers/projects_controller.rb
+1
-1
features/dashboard/archived_projects.feature
features/dashboard/archived_projects.feature
+0
-5
No files found.
app/controllers/projects_controller.rb
View file @
4b1bb42b
...
@@ -105,7 +105,7 @@ class ProjectsController < ApplicationController
...
@@ -105,7 +105,7 @@ class ProjectsController < ApplicationController
if
request
.
referer
.
include?
(
'/admin'
)
if
request
.
referer
.
include?
(
'/admin'
)
redirect_to
admin_namespaces_projects_path
redirect_to
admin_namespaces_projects_path
else
else
redirect_to
projects_
dashboard_path
redirect_to
dashboard_path
end
end
end
end
end
end
...
...
features/dashboard/archived_projects.feature
View file @
4b1bb42b
...
@@ -10,8 +10,3 @@ Feature: Dashboard Archived Projects
...
@@ -10,8 +10,3 @@ Feature: Dashboard Archived Projects
Scenario
:
I
should see non-archived projects on dashboard
Scenario
:
I
should see non-archived projects on dashboard
Then
I should see
"Shop"
project link
Then
I should see
"Shop"
project link
And
I should not see
"Forum"
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment