From f9c21ce6580601109a6c4ac55c63bdea031f3203 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Sat, 4 Sep 2010 01:11:22 +0200 Subject: Remove more deprecated behavior from plugins. --- railties/test/railties/plugin_test.rb | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'railties/test') diff --git a/railties/test/railties/plugin_test.rb b/railties/test/railties/plugin_test.rb index b143f56484..bae05d6978 100644 --- a/railties/test/railties/plugin_test.rb +++ b/railties/test/railties/plugin_test.rb @@ -115,32 +115,5 @@ module RailtiesTest assert rescued, "Expected boot rails to fail" end - - test "loads deprecated rails/init.rb" do - @plugin.write "rails/init.rb", <<-RUBY - $loaded = true - RUBY - - boot_rails - assert $loaded - end - - test "deprecated tasks are also loaded" do - $executed = false - @plugin.write "tasks/foo.rake", <<-RUBY - task :foo do - $executed = true - end - RUBY - - boot_rails - require 'rake' - require 'rake/rdoctask' - require 'rake/testtask' - Rails.application.load_tasks - Rake::Task[:foo].invoke - assert $executed - end - end end -- cgit v1.2.3