spec/string_spec.rb in fjson-0.1.0 vs spec/string_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 string" do
specify "should convert to json" do
- "test".to_json.should == '"test"'
+ "test".to_json.should_eql '"test"'
end
specify "to_json should accept any number of arguments" do
"test".to_json(1, 2)
end
\ No newline at end of file