Ruby on Rails
Saturday, January 20, 2018
I'm migrating various static routes to a wildcard route that points to a custom Rack application – very similar to this https://stackoverflow.com/a/17595218/587320
-- Now the tests for the affected ActionController::TestCase's throw ActionController::UrlGenerationError: No route matches exceptions. Is there some way to prevent the controller tests from checking existing routes or is there some other preferred way to test my controllers in this case? Switching to ActionDispatch::IntegrationTest's would be one possibility.
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/4459b3f1-2ac2-45e0-8c64-f88964f5741c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment