Sha256: 6ebe1ba16c884162dbb72b17e2ea17a167a819b5dc531965aff995d381782749
Contents?: true
Size: 551 Bytes
Versions: 8
Compression:
Stored size: 551 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../spec_helper') describe ReJobAudit do def valid_attributes { :audit_date => Date.new, :audit_code => ReJobAudit::AUDIT_INFO, } end it "should be valid with valid attributes" do ReJobAudit.new(valid_attributes).should be_valid end should_belong_to :re_job should_belong_to :re_pipeline should_belong_to :re_rule should_validate_presence_of :audit_date should_validate_presence_of :audit_code # should_validate_presence_of :audit_success end
Version data entries
8 entries across 8 versions & 1 rubygems