Skip to content

Instantly share code, notes, and snippets.

@ideamonk
Created July 11, 2012 11:42
Show Gist options
  • Save ideamonk/3089832 to your computer and use it in GitHub Desktop.
Save ideamonk/3089832 to your computer and use it in GitHub Desktop.
Make RSpec aware of named routes
RSpec.configure do |config|
#
# ...
#
config.include Rails.application.routes.url_helpers
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment