spec/riveter/attributes_spec.rb in riveter-0.2.1 vs spec/riveter/attributes_spec.rb in riveter-0.3.0
- old
+ new
@@ -65,10 +65,9 @@
before do
subject.attr_date_range :an_attribute
end
let(:instance) { subject.new() }
- it { instance.should validate_date_range_of(:an_attribute) }
it { instance.should validate_timeliness_of(:an_attribute_from) }
it { instance.should validate_timeliness_of(:an_attribute_to) }
it { instance.should respond_to(:an_attribute_from?) }