diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-21 14:34:42 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-21 14:36:00 -0700 |
commit | 2daac47d585c5b8f37e4749d6a9a3aea4b989bd0 (patch) | |
tree | c6c7f7f66ca69f0f8012d7672645bfbcd86c6b3d /actionpack/Rakefile | |
parent | e693f45e155a81b6c337b8766870b56716a05105 (diff) | |
download | rails-2daac47d585c5b8f37e4749d6a9a3aea4b989bd0.tar.gz rails-2daac47d585c5b8f37e4749d6a9a3aea4b989bd0.tar.bz2 rails-2daac47d585c5b8f37e4749d6a9a3aea4b989bd0.zip |
Added the ability to register methods to handle specific render option keys and render :json
Diffstat (limited to 'actionpack/Rakefile')
-rw-r--r-- | actionpack/Rakefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/actionpack/Rakefile b/actionpack/Rakefile index 5968317c60..2041f5a844 100644 --- a/actionpack/Rakefile +++ b/actionpack/Rakefile @@ -62,8 +62,9 @@ Rake::TestTask.new(:test_new_base_on_old_tests) do |t| # Dir.glob( "test/{dispatch,template}/**/*_test.rb" ).sort + t.test_files = %w( addresses_render base benchmark caching capture content_type dispatcher - flash mime_responds record_identifier redirect render rescue url_rewriter - webservice verification request_forgery_protection send_file + flash mime_responds record_identifier redirect + render render_json + send_file request_forgery_protection rescue url_rewriter verification webservice ).map { |name| "test/controller/#{name}_test.rb" } end |