diff options
author | Yves Senn <yves.senn@gmail.com> | 2012-12-15 20:20:34 +0100 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-02-04 14:46:50 +0100 |
commit | c21ab338cb9e38a0bfa51ac8cf4d70285f03c7b2 (patch) | |
tree | fa41ad8f396f707c407b9ce716f640adecaf6970 /version.rb | |
parent | e16110c4b86e7ba5eb7d4accf8871e98122a10e5 (diff) | |
download | rails-c21ab338cb9e38a0bfa51ac8cf4d70285f03c7b2.tar.gz rails-c21ab338cb9e38a0bfa51ac8cf4d70285f03c7b2.tar.bz2 rails-c21ab338cb9e38a0bfa51ac8cf4d70285f03c7b2.zip |
descriptive `assert_template` error when partial wasn't rendered
When `assert_template` is used with the :locals option, and the
partial was not rendered, a method_missing error was raised.
This changes first checks, if the partial actually was rendered
and raises a descriptive error.
Diffstat (limited to 'version.rb')
0 files changed, 0 insertions, 0 deletions