Skip to content

Commit 6763cb2

Browse files
committed
spec fix
1 parent d341770 commit 6763cb2

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

spec/usage/components/small_spec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ class ExamplePage < Matestack::Ui::Page
4141

4242
def response
4343
components {
44-
# simple span
45-
span text: 'I am simple'
44+
# simple small
45+
small text: 'I am simple'
4646

47-
# enhanced span
48-
span id: 'my-id', class: 'my-class',text: 'I am enhanced'
47+
# enhanced small
48+
small id: 'my-id', class: 'my-class', text: 'I am enhanced'
4949
}
5050
end
5151

@@ -56,8 +56,8 @@ def response
5656
static_output = page.html
5757

5858
expected_static_output = <<~HTML
59-
<span>I am simple</span>
60-
<span id="my-id" class="my-class">I am enhanced</span>
59+
<small>I am simple</small>
60+
<small id="my-id" class="my-class">I am enhanced</small>
6161
HTML
6262

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

0 commit comments

Comments
 (0)