Commit 3d39262d authored by Rémy Coutable's avatar Rémy Coutable

Fix spec/services/projects/update_service_spec.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 127b4557
......@@ -245,7 +245,7 @@ describe Projects::UpdateService, '#execute' 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: "Name can contain only letters, digits, emojis, '_', '.', dash, space. It must start with letter, digit, emoji or '_'." })
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