From 6db930cb5bbff9ad824590b5844e04768de240b1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Wed, 14 Mar 2012 22:30:01 +0100 Subject: Remove --http. --- railties/test/application/rake_test.rb | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'railties/test/application/rake_test.rb') diff --git a/railties/test/application/rake_test.rb b/railties/test/application/rake_test.rb index 545020357a..b6cbb10141 100644 --- a/railties/test/application/rake_test.rb +++ b/railties/test/application/rake_test.rb @@ -132,26 +132,6 @@ module ApplicationTests assert_no_match(/Errors running/, output) end - def test_http_scaffold_tests_pass_by_default - add_to_config <<-RUBY - config.middleware.http_only! - config.generators.http_only! - RUBY - - app_file "app/controllers/application_controller.rb", <<-RUBY - class ApplicationController < ActionController::HTTP - end - RUBY - - output = Dir.chdir(app_path) do - `rails generate scaffold user username:string password:string; - bundle exec rake db:migrate db:test:clone test` - end - - assert_match(/6 tests, 12 assertions, 0 failures, 0 errors/, output) - assert_no_match(/Errors running/, output) - end - def test_rake_dump_structure_should_respect_db_structure_env_variable Dir.chdir(app_path) do # ensure we have a schema_migrations table to dump -- cgit v1.2.3