spec/groupdocs/job_spec.rb in groupdocs-0.2.6 vs spec/groupdocs/job_spec.rb in groupdocs-0.2.7

- old
+ new

@@ -127,9 +127,14 @@ lambda do subject.documents!(client_id: 'client_id', private_key: 'private_key') end.should_not raise_error(ArgumentError) end + it 'updates job status' do + subject.documents! + subject.status.should == :archived + end + it 'returns array of GroupDocs::Document objects' do documents = subject.documents! documents.should be_an(Array) documents.each do |document| document.should be_a(GroupDocs::Document)