Skip to content

Commit b5d6c7f

Browse files
author
p_doub
committed
Fix time tag test
1 parent ffb489a commit b5d6c7f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spec/usage/components/time_spec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ def response
3434
static_output = page.html
3535

3636
expected_static_output = <<~HTML
37-
<p>This should show <time class='my-simple-time'>12:00</time></p>
37+
<p>This should show <time class="my-simple-time">12:00</time></p>
3838
39-
<p id='my-parent-paragraph'>
40-
Today is <time datetime='2019-02-12T10:38:39+02:00' id='example-timestamp'>July 7</time>
41-
</p>"
39+
<p id="my-parent-paragraph">
40+
Today is <time datetime="2019-02-12T10:38:39+02:00" id="example-timestamp">July 7</time>
41+
</p>
4242
HTML
4343

4444
expect(stripped(static_output)).to include(stripped(expected_static_output))

0 commit comments

Comments
 (0)