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
Léo-Paul Géneau
gitlab-ce
Commits
07e4ffd7
Commit
07e4ffd7
authored
Oct 28, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed boards store spec
parent
a2e9bc35
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
app/controllers/projects_controller.rb
app/controllers/projects_controller.rb
+1
-2
spec/javascripts/boards/boards_store_spec.js.es6
spec/javascripts/boards/boards_store_spec.js.es6
+4
-1
No files found.
app/controllers/projects_controller.rb
View file @
07e4ffd7
...
@@ -34,8 +34,7 @@ class ProjectsController < Projects::ApplicationController
...
@@ -34,8 +34,7 @@ class ProjectsController < Projects::ApplicationController
redirect_to
(
redirect_to
(
project_path
(
@project
),
project_path
(
@project
),
notice:
"Project '
#{
@project
.
name
}
' was successfully created."
,
notice:
"Project '
#{
@project
.
name
}
' was successfully created."
flash:
{
new_project:
true
}
)
)
else
else
render
'new'
render
'new'
...
...
spec/javascripts/boards/boards_store_spec.js.es6
View file @
07e4ffd7
...
@@ -18,7 +18,10 @@
...
@@ -18,7 +18,10 @@
gl.boardService = new BoardService('/test/issue-boards/board', '1');
gl.boardService = new BoardService('/test/issue-boards/board', '1');
gl.issueBoards.BoardsStore.create();
gl.issueBoards.BoardsStore.create();
Cookies.set('issue_board_welcome_hidden', 'false');
Cookies.set('issue_board_welcome_hidden', 'false', {
expires: 365 * 10,
path: ''
});
});
});
describe('Store', () => {
describe('Store', () => {
...
...
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