WIP - failing test without a solution.
This commit is contained in:
parent
210e8cf96c
commit
ad9969e36c
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue