Flowdock
method

assert_present

Importance_1
v3.2.13 - Show latest stable - 0 notes - Class: ActiveSupport::Testing::Assertions
assert_present(object, message=nil) public

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

assert_present {:data => 'x' } # => true
Show source
Register or log in to add new notes.