spec/string_spec.rb in fjson-0.1.1 vs spec/string_spec.rb in fjson-0.1.2

- old
+ new

@@ -2,14 +2,14 @@ require 'spec' dir = File.dirname(__FILE__) 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_eql '"test"' +describe "A string" do + it "should convert to json" do + "test".to_json.should == '"test"' end - specify "to_json should accept any number of arguments" do + it "to_json should accept any number of arguments" do "test".to_json(1, 2) end end \ No newline at end of file