spec/shared_factory_specs.rb in rubyonacid-0.1.1 vs spec/shared_factory_specs.rb in rubyonacid-0.1.2
- old
+ new
@@ -59,10 +59,9 @@
@it.get(:a).should >= 0.0
@it.get(:a, :max => 10.0).should >= 0.0
end
it "uses a default maximum of 1.0" do
@it.get(:a).should <= 1.0
- @it.get(:a, :min => -1.0).should <= 0.0
end
it "keeps the minimum and maximum between calls for a given key" do
@it.get(:a, :max => 2.0).should <= 2.0
10.times do
@it.get(:a).should <= 2.0