From fcfebdc0197e20c196b5c2e228ee0d30a78d01d1 Mon Sep 17 00:00:00 2001 From: jessicard Date: Sun, 3 Nov 2013 17:03:20 -0800 Subject: [PATCH] add comment for clarity for issue https://github.com/G5/microformats2/issues/17 --- spec/lib/microformats2/collection_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/lib/microformats2/collection_spec.rb b/spec/lib/microformats2/collection_spec.rb index 9aa62af..e270dd1 100644 --- a/spec/lib/microformats2/collection_spec.rb +++ b/spec/lib/microformats2/collection_spec.rb @@ -184,6 +184,7 @@ describe Microformats2::Collection do end describe "#to_json" do it "should match rels.js" do + # this also tests the case of having rel="alternates" json = "spec/support/lib/microformats2/rels.js" json = open(json).read JSON.parse(@collection.to_json).should == JSON.parse(json) @@ -205,7 +206,6 @@ describe Microformats2::Collection do # these cases were scraped from the internet using `rake specs:update` - # describe "spec/support/cases" do cases_dir = "spec/support/cases/*"