Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
twalpole committed Jan 26, 2024
1 parent 81611a5 commit e844a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/capybara/spec/session/node_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@
it 'should not submit single text input forms if ended with \n and has multiple values' do
@session.visit('/form')
@session.find(:css, '#two_input_1').set("my entry\n")
expect(@session.find(:css, '#two_input_1').value).to eq("my entry\n")
expect(@session.find(:css, '#two_input_1').value).to eq("my entry\n").or(eq 'my entry')
end
end

Expand Down

0 comments on commit e844a6f

Please sign in to comment.