Sha256: 2494dcb86ff81e070252746649ab9a731f03f2b23dc6de18c9f1abc6d50253de
Contents?: true
Size: 392 Bytes
Versions: 12
Compression:
Stored size: 392 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 expect(subject.to_s).to eq("MaxValue: Field(ListPrice,1.0) Value(1000000.0,1000001.0)") end end
Version data entries
12 entries across 12 versions & 1 rubygems