diff options
Diffstat (limited to 'rubygem-actionpack-4.0.0-change-spy-of-after-invoked-controller-action.-becau.patch')
-rw-r--r-- | rubygem-actionpack-4.0.0-change-spy-of-after-invoked-controller-action.-becau.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/rubygem-actionpack-4.0.0-change-spy-of-after-invoked-controller-action.-becau.patch b/rubygem-actionpack-4.0.0-change-spy-of-after-invoked-controller-action.-becau.patch deleted file mode 100644 index 8cf1660..0000000 --- a/rubygem-actionpack-4.0.0-change-spy-of-after-invoked-controller-action.-becau.patch +++ /dev/null @@ -1,30 +0,0 @@ -From 4f0f1b5d5249e05fa173b296af2ec6f6e4f78d33 Mon Sep 17 00:00:00 2001 -From: SHIBATA Hiroshi <shibata.hiroshi@gmail.com> -Date: Thu, 20 Dec 2012 16:49:00 +0900 -Subject: [PATCH] change spy of after invoked controller action. because - ruby-2.0.0 waned unused variables - ---- - actionpack/test/controller/render_test.rb | 3 ++- - 1 file changed, 2 insertions(+), 1 deletion(-) - -diff --git a/actionpack/test/controller/render_test.rb b/actionpack/test/controller/render_test.rb -index 7640bc1..6d91415 100644 ---- a/actionpack/test/controller/render_test.rb -+++ b/actionpack/test/controller/render_test.rb -@@ -1433,10 +1433,11 @@ class RenderTest < ActionController::TestCase - end - - def test_locals_option_to_assert_template_is_not_supported -+ get :partial_collection_with_locals -+ - warning_buffer = StringIO.new - $stderr = warning_buffer - -- get :partial_collection_with_locals - assert_template :partial => 'customer_greeting', :locals => { :greeting => 'Bonjour' } - assert_equal "the :locals option to #assert_template is only supported in a ActionView::TestCase\n", warning_buffer.string - ensure --- -1.8.0.1 - |