diff options
Diffstat (limited to 'spec/door_spec.rb')
-rw-r--r-- | spec/door_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/door_spec.rb b/spec/door_spec.rb index 46c43d3..5b0fb6f 100644 --- a/spec/door_spec.rb +++ b/spec/door_spec.rb @@ -69,10 +69,11 @@ describe EvenDoors::Door do p1.should be p0 end # - it "link->json->link" do + it "door->json->door" do door = EvenDoors::Door.new 'hell' hell = EvenDoors::Door.json_create( JSON.load( JSON.generate(door) ) ) door.name.should eql hell.name + JSON.generate(door).should eql JSON.generate(hell) end # end |