aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/render_js_test.rb
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2009-08-17 19:46:06 -0300
committerEmilio Tagua <miloops@gmail.com>2009-08-17 19:46:06 -0300
commitc01c8967a02537f132d437d5ae15332982119651 (patch)
tree76ed47f6bffd5fe1aa11c65cd32b222d881f43aa /actionpack/test/controller/render_js_test.rb
parent770fca10fba68fa14308f33e923493e6f63bfa35 (diff)
parentccf28d2499d1b4e2aba41291eb800e0e02120923 (diff)
downloadrails-c01c8967a02537f132d437d5ae15332982119651.tar.gz
rails-c01c8967a02537f132d437d5ae15332982119651.tar.bz2
rails-c01c8967a02537f132d437d5ae15332982119651.zip
Merge commit 'rails/master'
Conflicts: activerecord/lib/active_record/calculations.rb
Diffstat (limited to 'actionpack/test/controller/render_js_test.rb')
-rw-r--r--actionpack/test/controller/render_js_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/actionpack/test/controller/render_js_test.rb b/actionpack/test/controller/render_js_test.rb
index d02fd3fd4c..bc850de733 100644
--- a/actionpack/test/controller/render_js_test.rb
+++ b/actionpack/test/controller/render_js_test.rb
@@ -13,7 +13,7 @@ class TestController < ActionController::Base
# let's just rely on the template
end
- def partial
+ def show_partial
render :partial => 'partial'
end
end
@@ -33,7 +33,7 @@ class RenderTest < ActionController::TestCase
end
def test_should_render_js_partial
- xhr :get, :partial, :format => 'js'
+ xhr :get, :show_partial, :format => 'js'
assert_equal 'partial js', @response.body
- end
+ end
end \ No newline at end of file