Skip to content

Commit

Permalink
Remove obsolete test case, since we have move Rails::LogSubscriber to…
Browse files Browse the repository at this point in the history
… ActiveSupport::LogSubscriber in [6788db8] [#4816 state:resolved]

Signed-off-by: José Valim <jose.valim@gmail.com>
  • Loading branch information
sikachu authored and josevalim committed Jun 24, 2010
1 parent d69ebb8 commit 974196b
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions railties/test/railties/railtie_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 974196b

Please sign in to comment.