ported block_active_record_spec