From 27e5569a9a6fbd580f2dc9977addbb5590ceac2b Mon Sep 17 00:00:00 2001 From: Yanick Minder Date: Tue, 20 Feb 2024 15:19:12 +0100 Subject: [PATCH] clean up --- app/views/people/_search.html.haml | 2 +- spec/spec_helper.rb | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/app/views/people/_search.html.haml b/app/views/people/_search.html.haml index 934333b0a..daf3eea6f 100644 --- a/app/views/people/_search.html.haml +++ b/app/views/people/_search.html.haml @@ -1,3 +1,3 @@ -= form_with() do |f| += form_with do |f| %section{"data-controller"=>"dropdown"} = f.collection_select :person_id, Person.all.sort_by(&:name), :id, :name, {:selected => person.id} , {class: "form-select w-100", "data-action": "change->dropdown#handleChange", "data-value": "/people/"} diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index aa728229d..2019acb4c 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -56,7 +56,6 @@ # inherited by the metadata hash of host groups and examples, rather than # triggering implicit auto-inclusion in groups with matching metadata. config.shared_context_metadata_behavior = :apply_to_host_groups - # config.include Capybara::DSL # The settings below are suggested to provide a good initial experience # with RSpec, but feel free to customize to your heart's content.