spec/unit/resync/shared/augmented_examples.rb in resync-0.4.4 vs spec/unit/resync/shared/augmented_examples.rb in resync-0.4.5
- old
+ new
@@ -62,10 +62,10 @@
until_time: Time.utc(2003, 1, 1),
completed_time: Time.utc(2005, 1, 1),
capability: capability
)
augmented = new_instance(metadata: md)
- [:at_time, :from_time, :until_time, :completed_time].each do |t|
+ %i[at_time from_time until_time completed_time].each do |t|
expect(augmented.send(t)).to be_time(md.send(t))
end
end
end