summaryrefslogtreecommitdiffstats
path: root/spec/link_spec.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-10 22:52:29 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-10 22:52:29 +0200
commit2fd2f49b684ba22dea0ed9313b3ce257b4b82488 (patch)
treed22162cca392314fac607b222ac00e7a9d86e35d /spec/link_spec.rb
parent6867e3fb5377a7a80ad93cca2918e19e4a5fe52b (diff)
downloadedoors-ruby-2fd2f49b684ba22dea0ed9313b3ce257b4b82488.zip
edoors-ruby-2fd2f49b684ba22dea0ed9313b3ce257b4b82488.tar.gz
specs: typos, add JSON output compare
Diffstat (limited to 'spec/link_spec.rb')
-rw-r--r--spec/link_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/link_spec.rb b/spec/link_spec.rb
index 05d7a5c..9ad728e 100644
--- a/spec/link_spec.rb
+++ b/spec/link_spec.rb
@@ -33,6 +33,7 @@ describe EvenDoors::Link do
link.fields.should eql lnk.fields
link.cond_fields.should eql lnk.cond_fields
link.cond_value.should eql lnk.cond_value
+ JSON.generate(link).should eql JSON.generate(lnk)
end
#
end