Browse files

Remove obsolete test case, since we have move Rails::LogSubscriber to…

… ActiveSupport::LogSubscriber in [6788db8] [#4816 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information...
1 parent d69ebb8 commit 974196b0910924d08640703cc558c48ca049246a @sikachu sikachu committed with josevalim Jun 24, 2010
Showing with 0 additions and 9 deletions.
  1. +0 −9 railties/test/railties/railtie_test.rb
View
9 railties/test/railties/railtie_test.rb
@@ -48,15 +48,6 @@ class Foo < Rails::Railtie
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

0 comments on commit 974196b

Please sign in to comment.