Skip to content

Instantly share code, notes, and snippets.

@giancarlosisasi
Last active September 5, 2016 05:50
Show Gist options
  • Select an option

  • Save giancarlosisasi/e809170889ef6f2b15e9bc1616ba9d84 to your computer and use it in GitHub Desktop.

Select an option

Save giancarlosisasi/e809170889ef6f2b15e9bc1616ba9d84 to your computer and use it in GitHub Desktop.
feature 'Show the post selected' do
scenario 'user want to see the first post' do
visit posts_path
click_link 'Its my first posts'
expect(page).to have_content 'Its my first post!' # Titulo del post mostrado en la web app
expect(page).to have_content 'Welcome to my first post guys' # body del post
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment