fix broken test

This commit is contained in:
Brian Smith 2014-07-12 20:03:24 -04:00
parent 1c32702bba
commit 2895ea1223
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ describe "Session Detail", :js => true, :type => :feature, :capybara_feature =>
find('a.cancelSessionRsvp[request-id="' + requested_rsvp_slot.rsvp_requests[0].id + '"]').trigger(:click)
find('h1', text: 'cancel rsvp')
find('span.session-name', text: requested_rsvp_slot.music_session.name)
find('.session-name', text: requested_rsvp_slot.music_session.name)
find('a#btnCancelRsvp').trigger(:click)
should_not have_selector('td', text: searcher.name)
end