File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -41,11 +41,11 @@ class ExamplePage < Matestack::Ui::Page
41
41
42
42
def response
43
43
components {
44
- # simple span
45
- span text : 'I am simple'
44
+ # simple small
45
+ small text : 'I am simple'
46
46
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'
49
49
}
50
50
end
51
51
@@ -56,8 +56,8 @@ def response
56
56
static_output = page . html
57
57
58
58
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 >
61
61
HTML
62
62
63
63
expect ( stripped ( static_output ) ) . to include ( stripped ( expected_static_output ) )
You can’t perform that action at this time.
0 commit comments