Skip to content

Commit

Permalink
fix checked selector for GatekeeperPublishTest
Browse files Browse the repository at this point in the history
  • Loading branch information
stuzart committed Dec 20, 2024
1 parent a238344 commit c7eaf3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/publishing/gatekeeper_publish_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ def setup
[df, model, sop].each do |asset|
assert_select 'input[type=radio][name=?][value=?]', "gatekeeper_decide[#{asset.class.name}][#{asset.id}][decision]", '1'
assert_select 'input[type=radio][name=?][value=?]', "gatekeeper_decide[#{asset.class.name}][#{asset.id}][decision]", '0'
assert_select 'input[type=radio][name=?][value=?][checked=?]', "gatekeeper_decide[#{asset.class.name}][#{asset.id}][decision]", '-1', 'checked'
assert_select 'input[type=radio][name=?][value=?][checked]', "gatekeeper_decide[#{asset.class.name}][#{asset.id}][decision]", '-1'
end
end

Expand Down

0 comments on commit c7eaf3e

Please sign in to comment.