Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
JoonasAapro committed Sep 17, 2024
1 parent 24b8ed1 commit 75e683c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/cells/decidim/plans/plan_tags_cell_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
context "when rendering" do
it "renders the form" do
expect(subject).to have_link(translated(area_scope.name))
expect(subject).to have_link(strip_tags translated(category.name))
expect(subject).to have_link(strip_tags(translated(category.name)))
end
end
end
2 changes: 1 addition & 1 deletion spec/helpers/decidim/plans/attachments_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
it "returns the correct output" do
output = ctx.upload_field(form, attribute)
expect(output).to have_css("label[for='object_test']:contains(Test)")
expect(output).to have_selector("input[type='file'][name='object[test]']")
expect(output).to have_field("input[type='file'][name='object[test]']")
end

context "when image file is set" do
Expand Down
2 changes: 1 addition & 1 deletion spec/system/explore_plans_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
within ".filters__section" do
fill_in "Search", with: translated(accepted.title)
within ".input-group-button" do
find("button[type=\"submit\"]").click
find('svg[aria-label="Search"]').click
end
wait_a_bit
end
Expand Down

0 comments on commit 75e683c

Please sign in to comment.