Sha256: 1cda5c825083b0c1fde02697b22eb6d05a4338685d488d4b9e0513b672b0b432
Contents?: true
Size: 542 Bytes
Versions: 2
Compression:
Stored size: 542 Bytes
Contents
require_relative '../../../spec_helper' require_relative '../factories/secure_meeting' describe SecureMeeting do context 'A model with a UUID as a primary key' do it 'updates the relevant record' do securemeeting = FactoryGirl.create(:secure_meeting) securemeeting.starts_at = '2012-01-05'.to_date securemeeting.ends_at = '2012-02-05'.to_date expect(securemeeting).to be_valid expect(securemeeting.errors[:starts_at]).to be_empty expect(securemeeting.errors[:ends_at]).to be_empty end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
validates_overlap-0.8.0 | spec/dummy/spec/models/secure_meeting_spec.rb |
validates_overlap-0.7.0 | spec/dummy/spec/models/secure_meeting_spec.rb |