Skip to content

Commit

Permalink
fix actions spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed May 14, 2024
1 parent 97a1a6c commit 2916816
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/system/avo/actions_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -241,10 +241,10 @@
describe "fields" do
context "boolean group fields" do
it "pass through fields params" do
visit avo.resources_user_path(user)
visit avo.resources_users_path

open_panel_action(action_name: "Dummy action")
find(:xpath, '(//input[@id="fun_switch"])[2]').check
check("fields_fun_switch_sure")

run_action
expect(page).to have_text "Sure, I love 🥑"
Expand Down

0 comments on commit 2916816

Please sign in to comment.