This commit is contained in:
jessicard 2013-11-03 17:03:20 -08:00
parent 56383a0a91
commit fcfebdc019

View file

@ -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/*"