Skip to content

Commit

Permalink
Update test for nullable fields editability
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriele Tassoni committed Mar 28, 2023
1 parent 568b189 commit e09d550
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/integration/actions/edit_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -873,7 +873,7 @@ class HelpTest < Tableless
record = FieldTest.create
visit edit_path(model_name: 'field_test', id: record.id)
expect do
check 'field_test[open]'
find('label[for=field_test_open_1]').click
click_button 'Save'
end.to change { record.reload.open }.from(nil).to(true)
end
Expand Down

0 comments on commit e09d550

Please sign in to comment.