add comment for clarity for issue https://github.com/G5/microformats2/issues/17
This commit is contained in:
parent
56383a0a91
commit
fcfebdc019
1 changed files with 1 additions and 1 deletions
|
@ -184,6 +184,7 @@ describe Microformats2::Collection do
|
||||||
end
|
end
|
||||||
describe "#to_json" do
|
describe "#to_json" do
|
||||||
it "should match rels.js" do
|
it "should match rels.js" do
|
||||||
|
# this also tests the case of having rel="alternates"
|
||||||
json = "spec/support/lib/microformats2/rels.js"
|
json = "spec/support/lib/microformats2/rels.js"
|
||||||
json = open(json).read
|
json = open(json).read
|
||||||
JSON.parse(@collection.to_json).should == JSON.parse(json)
|
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`
|
# these cases were scraped from the internet using `rake specs:update`
|
||||||
#
|
|
||||||
|
|
||||||
describe "spec/support/cases" do
|
describe "spec/support/cases" do
|
||||||
cases_dir = "spec/support/cases/*"
|
cases_dir = "spec/support/cases/*"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue