Skip to content

Instantly share code, notes, and snippets.

@pmatsinopoulos
Created January 28, 2014 20:45
Show Gist options
  • Save pmatsinopoulos/8676020 to your computer and use it in GitHub Desktop.
Save pmatsinopoulos/8676020 to your computer and use it in GitHub Desktop.
How to have Rails named routes available in your RSpec specs?
RSpec.configure do |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