diff options
Diffstat (limited to 'spec/requests/api/graphql/mutations/notes/destroy_spec.rb')
-rw-r--r-- | spec/requests/api/graphql/mutations/notes/destroy_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/requests/api/graphql/mutations/notes/destroy_spec.rb b/spec/requests/api/graphql/mutations/notes/destroy_spec.rb index f40518a574b..9d63eed276d 100644 --- a/spec/requests/api/graphql/mutations/notes/destroy_spec.rb +++ b/spec/requests/api/graphql/mutations/notes/destroy_spec.rb @@ -5,7 +5,7 @@ require 'spec_helper' RSpec.describe 'Destroying a Note', feature_category: :team_planning do include GraphqlHelpers - let(:noteable) { create(:work_item, :issue) } + let(:noteable) { create(:work_item) } let!(:note) { create(:note, noteable: noteable, project: noteable.project) } let(:global_note_id) { GitlabSchema.id_from_object(note).to_s } let(:variables) { { id: global_note_id } } |