Skip to content

Commit 9b87efe

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

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

spec/usage/base/component_spec.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,6 @@ def response
465465
components {
466466
div id: "my-component" do
467467
slot @options[:my_first_slot]
468-
br
469468
slot @options[:my_second_slot]
470469
end
471470
}
@@ -516,7 +515,6 @@ def my_second_simple_slot
516515
<span id="my_simple_slot">
517516
some content
518517
</span>
519-
<br/>
520518
<span id="my_simple_slot">
521519
foo from page
522520
</span>
@@ -568,9 +566,7 @@ def response
568566
components {
569567
div id: "my-other-component" do
570568
slot @options[:slots][:my_slot_from_component]
571-
br
572569
slot @options[:slots][:my_slot_from_page]
573-
br
574570
plain @foo
575571
end
576572
}
@@ -613,11 +609,9 @@ def my_slot_from_page
613609
<span id="my-slot-from-component">
614610
foo from component
615611
</span>
616-
<br/>
617612
<span id="my-slot-from-page">
618613
foo from page
619614
</span>
620-
<br/>
621615
foo from other component
622616
</div>
623617
</div>

0 commit comments

Comments
 (0)