Class: Bbq::TestUser
- Inherits:
-
Object
- Object
- Bbq::TestUser
- Includes:
- Test::Unit::Assertions
- Defined in:
- lib/bbq/test_unit.rb
Instance Method Summary collapse
Instance Method Details
#not_see!(*args) ⇒ Object
29 30 31 32 33 |
# File 'lib/bbq/test_unit.rb', line 29 def not_see!(*args) args.each do |arg| assert has_no_content?(arg), "Found \"#{arg}\", which was unexpected." end end |
#see!(*args) ⇒ Object
23 24 25 26 27 |
# File 'lib/bbq/test_unit.rb', line 23 def see!(*args) args.each do |arg| assert has_content?(arg), "Expecting to see \"#{arg}\", text not found." end end |