Flowdock
method

assert_blank

Importance_1
v4.0.2 - Show latest stable - 0 notes - Class: ActiveSupport::Testing::Assertions
assert_blank(object, message=nil) public

Test if an expression is blank. Passes if object.blank? is true.

assert_blank []   # => true
assert_blank [[]] # => [[]] is not blank

An error message can be specified.

assert_blank [], 'this should be blank'
Show source
Register or log in to add new notes.