module Shoulda::ActiveRecord::Assertions

def assert_save(obj)

assert_save User.new(params)

Asserts that the given object can be saved
def assert_save(obj)
  assert obj.save, "Errors: #{pretty_error_messages obj}"
  obj.reload
end