aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorPrem Sichanugrist <s@sikachu.com>2010-06-24 23:21:32 +0700
committerJosé Valim <jose.valim@gmail.com>2010-06-24 20:05:07 +0200
commit974196b0910924d08640703cc558c48ca049246a (patch)
treeb7cb23c9b44ffbadd4009ebf7757fb6797367d52 /railties/test
parentd69ebb849a78c07a4efc869789c4bc90e8741482 (diff)
downloadrails-974196b0910924d08640703cc558c48ca049246a.tar.gz
rails-974196b0910924d08640703cc558c48ca049246a.tar.bz2
rails-974196b0910924d08640703cc558c48ca049246a.zip
Remove obsolete test case, since we have move Rails::LogSubscriber to ActiveSupport::LogSubscriber in [6788db824ab732b13493a9d702dd8fb89fa153c8] [#4816 state:resolved]
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/railties/railtie_test.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/railties/test/railties/railtie_test.rb b/railties/test/railties/railtie_test.rb
index 2accaca855..c74cc01dc1 100644
--- a/railties/test/railties/railtie_test.rb
+++ b/railties/test/railties/railtie_test.rb
@@ -48,15 +48,6 @@ module RailtiesTest
assert_equal "hello", AppTemplate::Application.config.foo.greetings
end
- test "railtie can add log subscribers" do
- begin
- class Foo < Rails::Railtie ; log_subscriber(:foo, Rails::LogSubscriber.new) ; end
- assert_kind_of Rails::LogSubscriber, Rails::LogSubscriber.log_subscribers[0]
- ensure
- Rails::LogSubscriber.log_subscribers.clear
- end
- end
-
test "railtie can add to_prepare callbacks" do
$to_prepare = false
class Foo < Rails::Railtie ; config.to_prepare { $to_prepare = true } ; end