spec/lib/extensions/array_spec.rb in picky-0.9.4 vs spec/lib/extensions/array_spec.rb in picky-0.10.0
- old
+ new
@@ -49,10 +49,10 @@
end
it "should work like uniq if no interspersed elements exist" do
[:test1, :test1, :test2, :test2, :test3].clustered_uniq.should == [:test1, :test2, :test3]
end
it "is fast" do
- performance_of { [:test1, :test1, :test2, :test2, :test3].clustered_uniq }.should < 0.00001
+ performance_of { [:test1, :test1, :test2, :test2, :test3].clustered_uniq }.should < 0.000012
end
end
end
\ No newline at end of file