spec/support/formatter_spec.rb in lolita-3.1.5 vs spec/support/formatter_spec.rb in lolita-3.1.6

- old
+ new

@@ -33,10 +33,10 @@ object.stub!(:respond_to?).with(:format).and_return(true) formatter.with(object).should == 1 end it "should convert received value to string and call #unpack" do - formatter=klass.new('C') - formatter.with("\100").should == [64] + formatter=klass.new("%.3f") + formatter.with(44.88).should == "44.880" end end end