@@ -11,7 +11,7 @@ def response
11
11
components {
12
12
# simple small tag
13
13
small do
14
- plain 'I am simple'
14
+ plain 'I am a simple small tag '
15
15
end
16
16
17
17
# enhanced small tag
@@ -28,8 +28,8 @@ def response
28
28
static_output = page . html
29
29
30
30
expected_static_output = <<~HTML
31
- < small > I am simple</ small >
32
- < small id ="my-id " class ="my-class "> I am enhanced small tag</ small >
31
+ < small > I am a simple small tag </ small >
32
+ < small id ="my-id " class ="my-class "> I am a enhanced small tag</ small >
33
33
HTML
34
34
35
35
expect ( stripped ( static_output ) ) . to include ( stripped ( expected_static_output ) )
@@ -42,10 +42,10 @@ class ExamplePage < Matestack::Ui::Page
42
42
def response
43
43
components {
44
44
# simple small
45
- small text : 'I am simple'
45
+ small text : 'I am a simple small tag '
46
46
47
47
# enhanced small
48
- small id : 'my-id' , class : 'my-class' , text : 'I am enhanced'
48
+ small id : 'my-id' , class : 'my-class' , text : 'I am enhanced small tag '
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
- < small > I am simple</ small >
60
- < small id ="my-id " class ="my-class "> I am enhanced</ small >
59
+ < small > I am a simple small tag </ small >
60
+ < small id ="my-id " class ="my-class "> I am enhanced small tag </ small >
61
61
HTML
62
62
63
63
expect ( stripped ( static_output ) ) . to include ( stripped ( expected_static_output ) )
0 commit comments