Sha256: deab6dc1310ebecb4288c14683927b6b3c364b611ff2fc559e575efdff18795e
Contents?: true
Size: 458 Bytes
Versions: 30
Compression:
Stored size: 458 Bytes
Contents
require 'spec_helper' describe TeamGroupStatistic do describe 'synchronization' do context 'sync with no data specified' do subject { -> { TeamGroupStatistic.sync } } it { is_expected.to change { TeamGroupStatistic.count }.by(2) } it { is_expected.to change { Team.count }.by(2) } it { is_expected.to change { Player.count }.by(4) } it { is_expected.to change { Synchronisable::Import.count }.by(8) } end end end
Version data entries
30 entries across 30 versions & 1 rubygems