Fixing tests
This commit is contained in:
@@ -41,7 +41,7 @@ RSpec.describe Player do
|
||||
end
|
||||
|
||||
it 'raises errors when the faction does not match' do
|
||||
expect{subject = Player.new(player_id, 'billy_bob_jo')}.to raise_error(PlayerError, 'Faction must be `good` or `evil`')
|
||||
expect{subject = Player.new(player_id, 'billy_bob_jo')}.to raise_error(PlayerError, 'Faction must be \`good\` or \`evil\`')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user