Sha256: b07c062dc832a9f7b6ab90d173c1fc6f49280df7f3b58b6abd1fe398e6ae19f0
Contents?: true
Size: 388 Bytes
Versions: 64
Compression:
Stored size: 388 Bytes
Contents
require './spec/spec_helper' describe Constraint do subject do Constraint.new( "RuleValue" => 1000000.0, "Value" => 1000001.0, "RuleFieldValue" => 1.0, "RuleField" => "ListPrice", "RuleName" => "MaxValue") end it "should print to string" do subject.to_s.should eq("MaxValue: Field(ListPrice,1.0) Value(1000000.0,1000001.0)") end end
Version data entries
64 entries across 64 versions & 2 rubygems