Corrects Test name
This commit is contained in:
parent
acfc388da4
commit
6811c9e7eb
|
|
@ -20,7 +20,7 @@ RSpec.describe AddPlayoffsToTournament do
|
||||||
@stages = create_list(:stage, 5)
|
@stages = create_list(:stage, 5)
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'ez lyfe' do
|
context 'PlayoffStageService mocked' do
|
||||||
before do
|
before do
|
||||||
expect(class_double('PlayoffStageService').as_stubbed_const(transfer_nested_constants: true))
|
expect(class_double('PlayoffStageService').as_stubbed_const(transfer_nested_constants: true))
|
||||||
.to receive(:generate_playoff_stages_from_tournament)
|
.to receive(:generate_playoff_stages_from_tournament)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue