diff options
Diffstat (limited to 'spec/presenters/label_presenter_spec.rb')
-rw-r--r-- | spec/presenters/label_presenter_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/presenters/label_presenter_spec.rb b/spec/presenters/label_presenter_spec.rb index 44c68a6102f..bab0d9a1065 100644 --- a/spec/presenters/label_presenter_spec.rb +++ b/spec/presenters/label_presenter_spec.rb @@ -7,6 +7,7 @@ RSpec.describe LabelPresenter do let_it_be(:group) { create(:group) } let_it_be(:project) { create(:project, group: group) } + let(:label) { build_stubbed(:label, project: project).present(issuable_subject: project) } let(:group_label) { build_stubbed(:group_label, group: group).present(issuable_subject: project) } |