Sha256: b60ca9a399f11d98cb1a782ed56b51642620c8648f0680a3eb68d94c9db51324
Contents?: true
Size: 357 Bytes
Versions: 1
Compression:
Stored size: 357 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' RSpec.describe DirtySeed::Assigners::Date do let(:attribute) { build_attribute(type: :date) } describe '#value' do context 'when there are no validators' do it 'returns a Date' do 10.times { expect(described_class.new(attribute).value).to be_a Date } end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
dirty_seed-0.1.8 | spec/lib/dirty_seed/assigners/date_spec.rb |