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