* try to fix millisecond sensitivity in rspec matcher

This commit is contained in:
Seth Call 2014-07-22 14:46:26 -05:00
parent 333e321877
commit 55e304e109
1 changed files with 2 additions and 2 deletions

View File

@ -10,7 +10,7 @@ describe ScoreHistory do
original.should_not == scanned_until
num_affected.should == 0
ScoreHistory.count.should == 0
GenericState.singleton.score_history_last_imported_at.should == scanned_until
GenericState.singleton.score_history_last_imported_at.round.should == scanned_until.round
end
it "migrates a single score" do
@ -28,7 +28,7 @@ describe ScoreHistory do
num_affected, scanned_until = ScoreHistory.migrate_scores
ScoreHistory.count.should == 1
num_affected.should == 1
GenericState.singleton.score_history_last_imported_at.should == scanned_until
GenericState.singleton.score_history_last_imported_at.round.should == scanned_until.round
score_history = ScoreHistory.first
score_history.from_client_id.should == score1.anodeid