Move shared example test to bottom of context
This will make jonas sleep well at nigh, so it is worth it.
This commit is contained in:
parent
9c029009fb
commit
aa1bb63038
|
|
@ -105,8 +105,6 @@ RSpec.describe GroupStageService do
|
|||
end
|
||||
end
|
||||
|
||||
it_should_behave_like 'only_return_group_scores'
|
||||
|
||||
it 'returns correct values for received_points' do
|
||||
@changed_group_scores.map(&:received_points).each do |points|
|
||||
expect(points).to be(42)
|
||||
|
|
@ -118,6 +116,8 @@ RSpec.describe GroupStageService do
|
|||
expect(points).to be(42)
|
||||
end
|
||||
end
|
||||
|
||||
it_should_behave_like 'only_return_group_scores'
|
||||
end
|
||||
|
||||
context 'with only decided matches' do
|
||||
|
|
|
|||
Loading…
Reference in New Issue