spec/instance_param_spec.rb in parameters-0.2.1 vs spec/instance_param_spec.rb in parameters-0.2.2
- old
+ new
@@ -63,10 +63,10 @@
it "should coerce values into Arrays with types" do
param = Parameters::InstanceParam.new(@obj,:x,Array[Integer])
param.value = Set['1', '2', '3']
- param.value.should == [1, 2, 3]
+ param.value.should =~ [1, 2, 3]
end
it "should coerce values into URIs" do
param = Parameters::InstanceParam.new(@obj,:x,URI)