diff options
author | Arthur Neves <arthurnn@gmail.com> | 2015-08-10 20:01:18 +0200 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2015-08-10 22:16:52 +0200 |
commit | 0ffaa56d51e8e0213db250ea36221c232a0c92f3 (patch) | |
tree | 9da358a0df664292f645c87e382e9a02e8665c03 /Gemfile | |
parent | 942f41263152277dd5d23744a97a67e8c1a8d3d4 (diff) | |
download | rails-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 'Gemfile')
0 files changed, 0 insertions, 0 deletions