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:
Daniel Schädler 2019-06-04 23:53:07 +02:00
parent 9c029009fb
commit aa1bb63038
1 changed files with 2 additions and 2 deletions

View File

@ -105,8 +105,6 @@ RSpec.describe GroupStageService do
end end
end end
it_should_behave_like 'only_return_group_scores'
it 'returns correct values for received_points' do it 'returns correct values for received_points' do
@changed_group_scores.map(&:received_points).each do |points| @changed_group_scores.map(&:received_points).each do |points|
expect(points).to be(42) expect(points).to be(42)
@ -118,6 +116,8 @@ RSpec.describe GroupStageService do
expect(points).to be(42) expect(points).to be(42)
end end
end end
it_should_behave_like 'only_return_group_scores'
end end
context 'with only decided matches' do context 'with only decided matches' do