diff --git a/spec/controllers/matches_controller_spec.rb b/spec/controllers/matches_controller_spec.rb index 48c73a2..57b920e 100644 --- a/spec/controllers/matches_controller_spec.rb +++ b/spec/controllers/matches_controller_spec.rb @@ -114,6 +114,9 @@ RSpec.describe MatchesController, type: :controller do it 'returns unprocessable entity' do expect(response).to have_http_status(:unprocessable_entity) + end + + it 'doesn\'t change the matches status' do expect(@running_playoff_match.state).to eq('in_progress') end