diff options
author | Phil Hughes <me@iamphill.com> | 2016-08-16 19:59:02 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-08-17 19:17:39 +0300 |
commit | d432e077efddc8815b0cb1ef46bcf62d2a38cc77 (patch) | |
tree | a04fdd86b59b3358d28f1f5919001dec8c11b398 /spec/features/boards/boards_spec.rb | |
parent | 19b8437b478e270de2ccabfa69c0c88f7930aafe (diff) |
Updated tests for creating with board
Diffstat (limited to 'spec/features/boards/boards_spec.rb')
-rw-r--r-- | spec/features/boards/boards_spec.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/features/boards/boards_spec.rb b/spec/features/boards/boards_spec.rb index 2bb3890d491..b4ed15c963f 100644 --- a/spec/features/boards/boards_spec.rb +++ b/spec/features/boards/boards_spec.rb @@ -3,12 +3,14 @@ require 'rails_helper' describe 'Issue Boards', feature: true, js: true do include WaitForAjax - let(:project) { create(:project) } + let(:project) { create(:project_with_board) } let(:user) { create(:user) } let!(:user2) { create(:user) } - let!(:board) { Boards::CreateService.new(project, user).execute } before do + create(:backlog_list, board: project.board) + create(:done_list, board: project.board) + project.team << [user, :master] project.team << [user2, :master] login_as(user) |