Skip to content

Instantly share code, notes, and snippets.

@giancarlosisasi
Created September 5, 2016 05:24
Show Gist options
  • Select an option

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

Select an option

Save giancarlosisasi/14fdd8ff85fe9625b59320349aa1cf30 to your computer and use it in GitHub Desktop.
# INDEX action
it 'show the correct view' do
expect(response).to render_template ‘index’
end
# SHOW action
it 'show the correct view' do
expect(response).to render_template ‘show’
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment