diff options
author | artemave <artemave@gmail.com> | 2010-12-12 20:40:40 +0000 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-12-26 22:32:15 -0800 |
commit | 6c5a3bb3125735760e92f49c3824d757ef87c61e (patch) | |
tree | 5abb3bd0173988dd66367f269318606500736dc3 /actionpack/test/template/log_subscriber_test.rb | |
parent | ce21ea783255a30e330c7218a3043801dfe9ad52 (diff) | |
download | rails-6c5a3bb3125735760e92f49c3824d757ef87c61e.tar.gz rails-6c5a3bb3125735760e92f49c3824d757ef87c61e.tar.bz2 rails-6c5a3bb3125735760e92f49c3824d757ef87c61e.zip |
all tests pass
Diffstat (limited to 'actionpack/test/template/log_subscriber_test.rb')
-rw-r--r-- | actionpack/test/template/log_subscriber_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/template/log_subscriber_test.rb b/actionpack/test/template/log_subscriber_test.rb index 435936b19f..8b8b005a1d 100644 --- a/actionpack/test/template/log_subscriber_test.rb +++ b/actionpack/test/template/log_subscriber_test.rb @@ -57,7 +57,7 @@ class AVLogSubscriberTest < ActiveSupport::TestCase end def test_render_partial_with_implicit_path - @view.stubs(:controller_prefix).returns("test") + @view.stubs(:controller_prefixes).returns(%w(test)) @view.render(Customer.new("david"), :greeting => "hi") wait @@ -74,7 +74,7 @@ class AVLogSubscriberTest < ActiveSupport::TestCase end def test_render_collection_with_implicit_path - @view.stubs(:controller_prefix).returns("test") + @view.stubs(:controller_prefixes).returns(%w(test)) @view.render([ Customer.new("david"), Customer.new("mary") ], :greeting => "hi") wait @@ -83,7 +83,7 @@ class AVLogSubscriberTest < ActiveSupport::TestCase end def test_render_collection_template_without_path - @view.stubs(:controller_prefix).returns("test") + @view.stubs(:controller_prefixes).returns(%w(test)) @view.render([ GoodCustomer.new("david"), Customer.new("mary") ], :greeting => "hi") wait |