Commit cbe50977 authored by Peter Leitzen's avatar Peter Leitzen

Adjust expected mutation error message when Epic is not found

parent cd711f52
......@@ -183,7 +183,7 @@ RSpec.describe Mutations::Issues::Create do
context 'epics are unavailable' do
it 'is unsuccessful' do
expect(resolved_mutation[:errors]).to contain_exactly("Couldn't find Epic")
expect(resolved_mutation[:errors]).to contain_exactly(/^Couldn't find Epic/)
end
it 'does not create an issue' do
......
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