spec/groupdocs/document/annotation/reply_spec.rb in groupdocs-0.2.3 vs spec/groupdocs/document/annotation/reply_spec.rb in groupdocs-0.2.4
- old
+ new
@@ -102,14 +102,9 @@
end
end
describe '#replied_on' do
it 'returns converted to Time object Unix timestamp' do
- subject.replied_on = 1332950825
- subject.replied_on.should be_a(Time)
- end
-
- it 'divides timestamp by 1000 because it is in milliseconds' do
subject.replied_on = 1332950825000
subject.replied_on.should == Time.at(1332950825)
end
end