aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/mime_responds_test.rb
diff options
context:
space:
mode:
authorYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-17 12:36:15 -0700
committerYehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com>2009-06-17 12:54:19 -0700
commit487312515c09c5dbc7306329805f2eebfed1d630 (patch)
tree01ae223182a4be991cb7f58bf69c17c02e47fe19 /actionpack/test/controller/mime_responds_test.rb
parent4fad953f90f82e860a69d67745887b40d5b15475 (diff)
downloadrails-487312515c09c5dbc7306329805f2eebfed1d630.tar.gz
rails-487312515c09c5dbc7306329805f2eebfed1d630.tar.bz2
rails-487312515c09c5dbc7306329805f2eebfed1d630.zip
RJS doesn't render with an HTML layout by default
Diffstat (limited to 'actionpack/test/controller/mime_responds_test.rb')
-rw-r--r--actionpack/test/controller/mime_responds_test.rb8
1 files changed, 3 insertions, 5 deletions
diff --git a/actionpack/test/controller/mime_responds_test.rb b/actionpack/test/controller/mime_responds_test.rb
index 04d6c4173a..c9994ee013 100644
--- a/actionpack/test/controller/mime_responds_test.rb
+++ b/actionpack/test/controller/mime_responds_test.rb
@@ -375,11 +375,9 @@ class MimeControllerTest < ActionController::TestCase
end
def test_rjs_type_skips_layout
- pending(:new_base) do
- @request.accept = "text/javascript"
- get :all_types_with_layout
- assert_equal 'RJS for all_types_with_layout', @response.body
- end
+ @request.accept = "text/javascript"
+ get :all_types_with_layout
+ assert_equal 'RJS for all_types_with_layout', @response.body
end
def test_html_type_with_layout