Sha256: 2b59ba5fea0920725b4eb0777b29838903fefb7ac590fe2856e57440f3f48990
Contents?: true
Size: 269 Bytes
Versions: 18
Compression:
Stored size: 269 Bytes
Contents
require 'spec_helper' describe Virtus::Coercion::Date, '.to_string' do subject { object.to_string(date) } let(:object) { described_class } let(:date) { Date.new(2011, 1, 1) } it { should be_instance_of(String) } it { should eql('2011-01-01') } end
Version data entries
18 entries across 18 versions & 2 rubygems