Fix error message not changed in spec

This commit is contained in:
Thor77 2019-06-17 13:38:00 +02:00
parent 914cfbd94d
commit ce154a821c
No known key found for this signature in database
GPG Key ID: 5051E71B46AA669A
1 changed files with 1 additions and 1 deletions

View File

@ -32,7 +32,7 @@ RSpec.describe UserService do
match.state = :in_progress
expect do
user_service.bet! match, team
end.to raise_error(UserServiceError, 'Betting is not supported while match is in_progress')
end.to raise_error(UserServiceError, 'Betting is not allowed while match is in_progress')
end
end