diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-05-22 18:40:26 +0200 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-05-22 19:01:52 +0200 |
commit | 9d08f86cd45ed939ecf2e24e81655371910c8045 (patch) | |
tree | fd29fc131279e8633921804a593fa80df0e695d2 /actionpack/test/new_base | |
parent | d1d9a6c26113cf4a0decb504c46e4e7fe4351ce6 (diff) | |
download | rails-9d08f86cd45ed939ecf2e24e81655371910c8045.tar.gz rails-9d08f86cd45ed939ecf2e24e81655371910c8045.tar.bz2 rails-9d08f86cd45ed939ecf2e24e81655371910c8045.zip |
Make assertion tests pass with the new base
Diffstat (limited to 'actionpack/test/new_base')
-rw-r--r-- | actionpack/test/new_base/abstract_unit.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/new_base/abstract_unit.rb b/actionpack/test/new_base/abstract_unit.rb index 1d4bcbd91d..5df3467ff5 100644 --- a/actionpack/test/new_base/abstract_unit.rb +++ b/actionpack/test/new_base/abstract_unit.rb @@ -113,7 +113,7 @@ module ActionController hax = @controller._action_view.instance_variable_get(:@_rendered) case options - when NilClass, String + when NilClass, String rendered = (hax[:template] || []).map { |t| t.identifier } msg = build_message(message, "expecting <?> but rendering with <?>", |