Skip to content

Commit cc0bd9c

Browse files
committed
removed failing br tags, fails on CI because CI chrome renders <br> instead of <br/> as chrome locally does
1 parent 7b98992 commit cc0bd9c

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

spec/usage/base/page_spec.rb

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ def response
122122
components {
123123
div do
124124
partial :my_simple_partial
125-
br
126125
partial :my_partial_with_param, "foo"
127-
br
128126
partial :my_partial_with_partial
129127
end
130128
}
@@ -179,14 +177,10 @@ def my_action
179177
some content
180178
</span>
181179
182-
<br/>
183-
184180
<span id="my_partial_with_param">
185181
content with param: foo
186182
</span>
187183
188-
<br/>
189-
190184
<span id="my_partial_with_partial">
191185
192186
<span id="my_simple_partial">
@@ -198,8 +192,6 @@ def my_action
198192
</div>
199193
HTML
200194

201-
p stripped(static_output)
202-
p stripped(expected_static_output)
203195
expect(stripped(static_output)).to include(stripped(expected_static_output))
204196

205197
end
@@ -226,9 +218,7 @@ def response
226218
components {
227219
div do
228220
partial :my_simple_partial
229-
br
230221
partial :my_partial_with_param, "foo"
231-
br
232222
partial :my_partial_with_partial
233223
end
234224
}
@@ -275,14 +265,10 @@ def my_action
275265
some content
276266
</span>
277267
278-
<br/>
279-
280268
<span id="my_partial_with_param">
281269
content with param: foo
282270
</span>
283271
284-
<br/>
285-
286272
<span id="my_partial_with_partial">
287273
288274
<span id="my_simple_partial">
@@ -317,7 +303,6 @@ def response
317303
components {
318304
div id: "my-component" do
319305
slot options[:my_first_slot]
320-
br
321306
slot options[:my_second_slot]
322307
end
323308
}
@@ -380,7 +365,6 @@ def my_action
380365
<span id="my_simple_slot">
381366
some content
382367
</span>
383-
<br/>
384368
<span id="my_simple_slot">
385369
foo from page
386370
</span>

0 commit comments

Comments
 (0)