lib/capybara/spec/session/selectors_spec.rb in capybara-3.24.0 vs lib/capybara/spec/session/selectors_spec.rb in capybara-3.25.0

- old
+ new

@@ -77,9 +77,9 @@ end it 'can find by class' do expect(@session.find(:field, class: 'confusion-checkbox')['id']).to eq 'confusion_checkbox' expect(@session).to have_selector(:field, class: 'confusion', count: 3) - expect(@session.find(:field, class: ['confusion', 'confusion-textarea'])['id']).to eq 'confusion_textarea' + expect(@session.find(:field, class: %w[confusion confusion-textarea])['id']).to eq 'confusion_textarea' end end end