diff options
Diffstat (limited to 'spec/graphql/types/todo_type_spec.rb')
-rw-r--r-- | spec/graphql/types/todo_type_spec.rb | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/spec/graphql/types/todo_type_spec.rb b/spec/graphql/types/todo_type_spec.rb index 8de63ebfda5..c7bb7c67959 100644 --- a/spec/graphql/types/todo_type_spec.rb +++ b/spec/graphql/types/todo_type_spec.rb @@ -4,7 +4,19 @@ require 'spec_helper' RSpec.describe GitlabSchema.types['Todo'] do it 'has the correct fields' do - expected_fields = [:id, :project, :group, :author, :action, :target, :target_type, :body, :state, :created_at] + expected_fields = [ + :id, + :project, + :group, + :author, + :action, + :target, + :target_type, + :body, + :state, + :created_at, + :note + ] expect(described_class).to have_graphql_fields(*expected_fields) end |