aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/rescuable_test.rb
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2015-08-10 20:01:18 +0200
committerArthur Neves <arthurnn@gmail.com>2015-08-10 22:16:52 +0200
commit0ffaa56d51e8e0213db250ea36221c232a0c92f3 (patch)
tree9da358a0df664292f645c87e382e9a02e8665c03 /activesupport/test/rescuable_test.rb
parent942f41263152277dd5d23744a97a67e8c1a8d3d4 (diff)
downloadrails-0ffaa56d51e8e0213db250ea36221c232a0c92f3.tar.gz
rails-0ffaa56d51e8e0213db250ea36221c232a0c92f3.tar.bz2
rails-0ffaa56d51e8e0213db250ea36221c232a0c92f3.zip
Dont try to call method missing in routes if thats not what we want
If, doing a test like this: ``` class BugTest < ActionView::TestCase def test_foo omg end ``` Will raise with: ``` RuntimeError: In order to use #url_for, you must include routing helpers explicitly. For instance, `include Rails.application.routes.url_helpers`. ``` Thats a bit confusing, as we are not calling url_for at all.
Diffstat (limited to 'activesupport/test/rescuable_test.rb')
0 files changed, 0 insertions, 0 deletions