diff options
author | Yves Senn <yves.senn@gmail.com> | 2012-10-04 20:55:02 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2012-10-06 12:23:02 +0200 |
commit | af677da84c6ec6140f7e89ff64ce30e50de325a0 (patch) | |
tree | 3949860cfea9eecc9260ee4d0a1c28451e422eb7 /guides/source | |
parent | 05e9258164658b1fd948311e9d075f5d7a60cbdb (diff) | |
download | rails-af677da84c6ec6140f7e89ff64ce30e50de325a0.tar.gz rails-af677da84c6ec6140f7e89ff64ce30e50de325a0.tar.bz2 rails-af677da84c6ec6140f7e89ff64ce30e50de325a0.zip |
can't pass :locals to #assert_template without a view test case. Closes #3415
the documentation on #assert_template states that the :locals option is
only available in view test cases:
# In a view test case, you can also assert that specific locals are passed
# to partials:
I added a warning when it's passed in an inapropriate context to prevent
a NoMethodError.
Diffstat (limited to 'guides/source')
0 files changed, 0 insertions, 0 deletions