diff --git a/spec/lib/statistics_spec.rb b/spec/lib/statistics_spec.rb index aced855bd..3ee6c6cd6 100644 --- a/spec/lib/statistics_spec.rb +++ b/spec/lib/statistics_spec.rb @@ -142,7 +142,7 @@ describe Statistics do bob.post(:status_message, :text => "here is a message") bob.save! - @stats.generate_correlations[:posts_count].to_s.should == "1.0" + c = @stats.generate_correlations[:posts_count].round(1).should == 1.0 end end