summaryrefslogtreecommitdiff
path: root/spec/serializers/issue_board_entity_spec.rb
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-04-14 15:09:04 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-04-14 15:09:04 +0000
commita3dfd311f4660fc81e929058abd6e136ac884ed3 (patch)
tree4d7087cac6e2ca89df3adea98f92b9eddffa7790 /spec/serializers/issue_board_entity_spec.rb
parent7f408a3831590a1f98a1e1a04b63acba8937e36b (diff)
downloadgitlab-ce-a3dfd311f4660fc81e929058abd6e136ac884ed3.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/serializers/issue_board_entity_spec.rb')
-rw-r--r--spec/serializers/issue_board_entity_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/serializers/issue_board_entity_spec.rb b/spec/serializers/issue_board_entity_spec.rb
index e60a063b9eb..138b8174d81 100644
--- a/spec/serializers/issue_board_entity_spec.rb
+++ b/spec/serializers/issue_board_entity_spec.rb
@@ -8,6 +8,7 @@ RSpec.describe IssueBoardEntity do
let_it_be(:user) { create(:user) }
let_it_be(:milestone) { create(:milestone, project: project) }
let_it_be(:label) { create(:label, project: project, title: 'Test Label') }
+
let(:request) { double('request', current_user: user) }
subject { described_class.new(resource, request: request).as_json }