Skip to content

Commit

Permalink
Added test for changing the metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
kizu committed Dec 28, 2016
1 parent a1c1642 commit f062d74
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/cases/4_settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@
</div>
<div class="b-Block | b-Block_mod1 | b-Block_mod2 | is-hidden">Should have classes with delimiters
</div>
<a class="b-Link" href="#x">
<div class="b-Link__Content">Hello
</div>
</a>
6 changes: 6 additions & 0 deletions test/cases/4_settings.pug
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,9 @@ p
- set_bemto_settings({ class_delimiter: '|' })

+b.Block--mod1.--mod2.is-hidden Should have classes with delimiters

//- Undocumented, could change in the future
- bemto_tag_metadata.a.type = 'block'

+b.Link(href="#x")
+e.Content= "Hello"

0 comments on commit f062d74

Please sign in to comment.