Commit 63174d23 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Fix projects/update_service_spec to match new error message

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent c57eb3f9
......@@ -190,7 +190,7 @@ describe Projects::UpdateService, '#execute', :services do
it 'returns an error result when record cannot be updated' do
result = update_project(project, admin, { name: 'foo&bar' })
expect(result).to eq({ status: :error, message: 'Project could not be updated' })
expect(result).to eq({ status: :error, message: 'Project could not be updated!' })
end
def update_project(project, user, opts)
......
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