Created
March 1, 2011 20:23
-
-
Save roykolak/849821 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
scenario "Viewing appointment notes" do | |
when 'I visit an appointment details page' do | |
visit my_appointment_path(fitting) | |
end | |
within('.primary') do | |
then 'I should see appointment notes from my dispenser' do | |
find('.quote').should have_content(fitting.notes) | |
find('.quote').should have_content(user.dispenser.first_name) | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment