lib/bbq/test_unit.rb in bbq-0.2.1 vs lib/bbq/test_unit.rb in bbq-0.3.0
- old
+ new
@@ -1,10 +1,9 @@
-require 'bbq'
-require 'bbq/session'
-require 'active_support/test_case'
+require 'bbq/core/session'
require 'test/unit'
require 'test/unit/assertions'
+require 'active_support/test_case'
module Bbq
class TestCase < ActiveSupport::TestCase
class << self
alias :scenario :test
@@ -12,14 +11,13 @@
end
alias :background :setup
teardown do
- Bbq::Session.pool.release
+ Bbq::Core::Session.pool.release
end
end
- # test/unit specific methods for test_user
class TestUser
include Test::Unit::Assertions
def see!(*args)
args.each do |arg|