Fixed boards store spec

This commit is contained in:
Phil Hughes 2016-10-28 13:07:08 +01:00
parent a2e9bc3584
commit 07e4ffd708
2 changed files with 5 additions and 3 deletions

View File

@ -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'

View File

@ -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', () => {