Fixed boards store spec
This commit is contained in:
parent
a2e9bc3584
commit
07e4ffd708
|
@ -34,8 +34,7 @@ class ProjectsController < Projects::ApplicationController
|
|||
|
||||
redirect_to(
|
||||
project_path(@project),
|
||||
notice: "Project '#{@project.name}' was successfully created.",
|
||||
flash: { new_project: true }
|
||||
notice: "Project '#{@project.name}' was successfully created."
|
||||
)
|
||||
else
|
||||
render 'new'
|
||||
|
|
|
@ -18,7 +18,10 @@
|
|||
gl.boardService = new BoardService('/test/issue-boards/board', '1');
|
||||
gl.issueBoards.BoardsStore.create();
|
||||
|
||||
Cookies.set('issue_board_welcome_hidden', 'false');
|
||||
Cookies.set('issue_board_welcome_hidden', 'false', {
|
||||
expires: 365 * 10,
|
||||
path: ''
|
||||
});
|
||||
});
|
||||
|
||||
describe('Store', () => {
|
||||
|
|
Loading…
Reference in New Issue