# frozen_string_literal: truerequire'spec_helper'describe'getting notes for an issue'doincludeGraphqlHelperslet(:noteable){create(:issue)}let(:noteable_data){graphql_data['project']['issue']}defnoteable_query(noteable_fields)<<~QRY { project(fullPath: "#{noteable.project.full_path}") { issue(iid: "#{noteable.iid}") {#{noteable_fields} } } } QRYendit_behaves_like'exposing regular notes on a noteable in GraphQL'end