spec/float_spec.rb in fjson-0.1.0 vs spec/float_spec.rb in fjson-0.1.1

- old
+ new

@@ -4,10 +4,10 @@ require File.expand_path("#{dir}/spec_helper") require File.expand_path("#{dir}/../lib/fjson") context "A float number" do specify "should convert to json" do - (3.14).to_json.should == "3.14" + (3.14).to_json.should_eql "3.14" end specify "to_json should accept any number of arguments" do (3.14).to_json(1, 2) end \ No newline at end of file