From 5d47ae54267d7e12348d5dd22dd703fc06083bb4 Mon Sep 17 00:00:00 2001 From: Malaber <32635600+Malaber@users.noreply.github.com> Date: Wed, 5 Jun 2019 10:53:18 +0200 Subject: [PATCH] Fix two typos --- spec/controllers/matches_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/controllers/matches_controller_spec.rb b/spec/controllers/matches_controller_spec.rb index 0825e8e..0078b61 100644 --- a/spec/controllers/matches_controller_spec.rb +++ b/spec/controllers/matches_controller_spec.rb @@ -111,7 +111,7 @@ RSpec.describe MatchesController, type: :controller do end end - context 'on a undecided match' do + context 'on an undecided match' do before do @running_playoff_match.match_scores.each do |ms| ms.points = 42 @@ -121,7 +121,7 @@ RSpec.describe MatchesController, type: :controller do @running_playoff_match.reload end - it 'returns unprocessable entity' do + it 'returns an unprocessable entity response' do expect(response).to have_http_status(:unprocessable_entity) end