summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-10-19 10:26:28 +0100
committerPhil Hughes <me@iamphill.com>2016-10-19 10:26:28 +0100
commita0f6526f02ac855027d7dfe763aab4b2a9978dca (patch)
tree69cc418347e22d205fa45cee9e3295e11dcb69aa
parentf1350a5c825610f908ed7182855af436fe4957dd (diff)
downloadgitlab-ce-a0f6526f02ac855027d7dfe763aab4b2a9978dca.tar.gz
Tests update
-rw-r--r--spec/features/boards/sidebar_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/features/boards/sidebar_spec.rb b/spec/features/boards/sidebar_spec.rb
index 905d720705d..f160052a844 100644
--- a/spec/features/boards/sidebar_spec.rb
+++ b/spec/features/boards/sidebar_spec.rb
@@ -4,7 +4,8 @@ describe 'Issue Boards', feature: true, js: true do
include WaitForAjax
include WaitForVueResource
- let(:project) { create(:project_with_board, :public) }
+ let(:project) { create(:empty_project, :public) }
+ let(:board) { create(:board, project: project) }
let(:user) { create(:user) }
let!(:label) { create(:label, project: project) }
let!(:label2) { create(:label, project: project) }
@@ -17,7 +18,7 @@ describe 'Issue Boards', feature: true, js: true do
login_as(user)
- visit namespace_project_board_path(project.namespace, project)
+ visit namespace_project_board_path(project.namespace, project, board)
wait_for_vue_resource
end