diff options
Diffstat (limited to 'spec/graphql/mutations/todos/restore_many_spec.rb')
-rw-r--r-- | spec/graphql/mutations/todos/restore_many_spec.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/spec/graphql/mutations/todos/restore_many_spec.rb b/spec/graphql/mutations/todos/restore_many_spec.rb index dc10355ef22..d43f1c8a2e9 100644 --- a/spec/graphql/mutations/todos/restore_many_spec.rb +++ b/spec/graphql/mutations/todos/restore_many_spec.rb @@ -49,13 +49,6 @@ RSpec.describe Mutations::Todos::RestoreMany do expect_states_were_not_changed end - it 'raises an error with invalid or non-Todo GIDs' do - expect { mutation.resolve(ids: [author.to_global_id.to_s]) } - .to raise_error(GraphQL::CoercionError) - - expect_states_were_not_changed - end - it 'restores multiple todos' do todo4 = create(:todo, user: current_user, author: author, state: :done) |