Commit 07e4ffd7 authored by Phil Hughes's avatar Phil Hughes

Fixed boards store spec

parent a2e9bc35
...@@ -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'
......
...@@ -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', () => {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment