@session.find(:css, '.change_event_triggered', :match => :one).should have_text 'some value'   will future proof this test, and make sure its actually testing what you want if Capybaras matching default happens to change in the future