Skip to content

Instantly share code, notes, and snippets.

@roykolak
Created March 1, 2011 20:23
Show Gist options
  • Save roykolak/849821 to your computer and use it in GitHub Desktop.
Save roykolak/849821 to your computer and use it in GitHub Desktop.
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