round in statistics spec since Float#to_s has changed in 1.9.2
This commit is contained in:
parent
5a96c8ff49
commit
e9ce5456d6
1 changed files with 1 additions and 1 deletions
|
|
@ -142,7 +142,7 @@ describe Statistics do
|
||||||
bob.post(:status_message, :text => "here is a message")
|
bob.post(:status_message, :text => "here is a message")
|
||||||
bob.save!
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue