Fix two typos

This commit is contained in:
Daniel Schädler 2019-06-05 10:53:18 +02:00
parent 0c64839319
commit 0e52663d46
1 changed files with 2 additions and 2 deletions

View File

@ -111,7 +111,7 @@ RSpec.describe MatchesController, type: :controller do
end end
end end
context 'on a undecided match' do context 'on an undecided match' do
before do before do
@running_playoff_match.match_scores.each do |ms| @running_playoff_match.match_scores.each do |ms|
ms.points = 42 ms.points = 42
@ -121,7 +121,7 @@ RSpec.describe MatchesController, type: :controller do
@running_playoff_match.reload @running_playoff_match.reload
end end
it 'returns unprocessable entity' do it 'returns an unprocessable entity response' do
expect(response).to have_http_status(:unprocessable_entity) expect(response).to have_http_status(:unprocessable_entity)
end end