Don't run "before" before each test

This commit is contained in:
Daniel Schädler 2019-05-02 11:46:32 +02:00
parent f149055965
commit ae29427e5d
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ RSpec.describe TournamentsController, type: :controller do
end
context 'with parameter group_stage=true' do
before(:each) do
before do
post :create, params: create_group_tournament_data
body = deserialize_response response
@group_stage_tournament = Tournament.find(body[:id])