spec/unit/veritas/attribute/date_time/range_spec.rb in veritas-0.0.2 vs spec/unit/veritas/attribute/date_time/range_spec.rb in veritas-0.0.3
- old
+ new
@@ -1,10 +1,9 @@
require 'spec_helper'
-describe 'Veritas::Attribute::DateTime#range' do
+describe Attribute::DateTime, '#range' do
subject { object.range }
- let(:klass) { Attribute::DateTime }
- let(:object) { klass.new(:datetime) }
+ let(:object) { described_class.new(:datetime) }
it { should == (DateTime.new..DateTime::Infinity.new) }
end