lib/bbq/test.rb in bbq-0.0.2.beta.2 vs lib/bbq/test.rb in bbq-0.0.2.beta.3
- old
+ new
@@ -2,11 +2,10 @@
require 'test/unit'
require 'bbq/test_user'
require 'test/unit/assertions'
module Bbq
-
class TestCase < ActiveSupport::TestCase
class << self
alias :scenario :test
alias :background :setup
end
@@ -14,11 +13,10 @@
alias :background :setup
end
# test/unit specific methods for test_user
class TestUser
-
include Test::Unit::Assertions
def see!(*args)
args.each do |arg|
assert has_content?(arg), "Expecting to see \"#{arg}\", text not found."
@@ -28,9 +26,7 @@
def not_see!(*args)
args.each do |arg|
assert has_no_content?(arg), "Found \"#{arg}\", which was unexpected."
end
end
-
end
-
end