Compare commits

...
Sign in to create a new pull request.

1 commit

Author SHA1 Message Date
Don Petersen
ad9969e36c WIP - failing test without a solution. 2014-04-03 00:07:07 +00:00
2 changed files with 6 additions and 0 deletions

View file

@ -73,6 +73,11 @@ describe Microformats2::Collection do
@collection.card.contents.first.should be_kind_of Microformats2::Property::Embedded @collection.card.contents.first.should be_kind_of Microformats2::Property::Embedded
end end
end end
describe "h-card with a plurally-named nested tag" do
it "is properly parsed" do
expect(@collection.card.hours.to_s).to eql("")
end
end
describe "Format.add_property" do describe "Format.add_property" do
let(:value) { "bar" } let(:value) { "bar" }
it "creates the attr" do it "creates the attr" do

View file

@ -18,6 +18,7 @@
<div class="e-content"> <div class="e-content">
<p>Vegan. Cat lover. Coder.</p> <p>Vegan. Cat lover. Coder.</p>
</div> </div>
<span class="p-hours"></span>
</div> </div>
</body> </body>
</html> </html>