aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2009-10-09 22:22:17 -0300
committerJosé Valim <jose.valim@gmail.com>2009-10-15 18:19:25 -0300
commit11f9f556b83f90e33ae516cc7a74177a9befdb0b (patch)
tree5df7f58b97f41bd5aca747b032d2699dc1fcb06c /railties/test
parenta15e02d44ac2afb27a7e8e652c98a796d271b645 (diff)
downloadrails-11f9f556b83f90e33ae516cc7a74177a9befdb0b.tar.gz
rails-11f9f556b83f90e33ae516cc7a74177a9befdb0b.tar.bz2
rails-11f9f556b83f90e33ae516cc7a74177a9befdb0b.zip
Make Orchestra specs run on isolation.
Diffstat (limited to 'railties/test')
-rw-r--r--railties/test/application/orchestra_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/test/application/orchestra_test.rb b/railties/test/application/orchestra_test.rb
index 38a06be741..fcf073bd6f 100644
--- a/railties/test/application/orchestra_test.rb
+++ b/railties/test/application/orchestra_test.rb
@@ -1,8 +1,8 @@
require "isolation/abstract_unit"
-require "active_support/orchestra"
module ApplicationTests
class OrchestraTest < Test::Unit::TestCase
+ include ActiveSupport::Testing::Isolation
class MyQueue
attr_reader :events, :subscribers
@@ -25,6 +25,7 @@ module ApplicationTests
build_app
boot_rails
+ require "active_support/orchestra"
Rails::Initializer.run do |c|
c.orchestra.queue = MyQueue.new
c.orchestra.subscribe(/listening/) do