diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-15 15:08:34 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-01-15 15:08:34 +0300 |
commit | 0820b29dca14bd22c2cee6d9ee2900b64385bfa6 (patch) | |
tree | 3637b0c997f5764c7255b830ffe32e53ac7ce078 /spec/serializers/issue_board_entity_spec.rb | |
parent | 778772c8d97adc025c126a941a1bd37bf72419ac (diff) |
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.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/serializers/issue_board_entity_spec.rb b/spec/serializers/issue_board_entity_spec.rb index f6fa2a794f6..d013b27369b 100644 --- a/spec/serializers/issue_board_entity_spec.rb +++ b/spec/serializers/issue_board_entity_spec.rb @@ -3,12 +3,12 @@ require 'spec_helper' describe IssueBoardEntity do - let(:project) { create(:project) } - let(:resource) { create(:issue, project: project) } - let(:user) { create(:user) } - let(:milestone) { create(:milestone, project: project) } - let(:label) { create(:label, project: project, title: 'Test Label') } - let(:request) { double('request', current_user: user) } + let_it_be(:project) { create(:project) } + let_it_be(:resource) { create(:issue, project: project) } + 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 } |