does anyone know how the `.and` method in RSpec works?
does anyone know how the `.and` method in RSpec works? I’m struggling to find documentation :disappointed: (“and” is hard to search)
No any search results
You already invited:
1 Answers
sogard
Upvotes from:
expect {click_button 'Update Child'
}.to change { second_child.appointments.count }.by(-second_child_appointment_count)
.and change { child.appointments.count }.by(second_child_appointment_count)