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