Skip to content

Commit d2987b9

Browse files
Adapt test
1 parent 97c07b7 commit d2987b9

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

decidim-core/spec/lib/form_builder_spec.rb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -786,14 +786,14 @@ def organization
786786

787787
it "renders the correctly sorted values" do
788788
html = output
789-
expect(html).to include(
790-
[
791-
"<li>This image will be resized and padded to 33 x 33 px.</li>",
792-
"<li>This image will be resized and padded to 99 x 99 px.</li>",
793-
"<li>This image will be resized to fit 32 x 32 px.</li>",
794-
"<li>This image will be resized to fit 100 x 100 px.</li>"
795-
].join("\n \n ")
796-
)
789+
[
790+
"<li>This image will be resized and padded to 33 x 33 px.</li>",
791+
"<li>This image will be resized and padded to 99 x 99 px.</li>",
792+
"<li>This image will be resized to fit 32 x 32 px.</li>",
793+
"<li>This image will be resized to fit 100 x 100 px.</li>"
794+
].each do |value|
795+
expect(html).to include(value)
796+
end
797797
end
798798
end
799799
end

0 commit comments

Comments
 (0)