Commit 09244107 authored by Alex Kalderimis's avatar Alex Kalderimis Committed by Alex Kalderimis

Update error expectation

parent 0493c950
......@@ -68,7 +68,7 @@ RSpec.describe Resolvers::DesignManagement::DesignResolver do
let(:args) { { id: GitlabSchema.id_from_object(create(:user)).to_s } }
it 'complains meaningfully' do
expect { resolve_design }.to raise_error(::Gitlab::Graphql::Errors::ArgumentError, /not a valid id for DesignManagement::Design/)
expect { resolve_design }.to raise_error(::Gitlab::Graphql::Errors::ArgumentError, /not a valid ID for DesignManagement::Design/)
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment