spec/groupdocs/job_spec.rb in groupdocs-1.5.3 vs spec/groupdocs/job_spec.rb in groupdocs-1.5.4
- old
+ new
@@ -69,11 +69,10 @@
described_class.create!(:actions => actions)
end
it 'converts array of out formats to string' do
formats = %w(pdf txt)
- formats.should_receive(:join).with(?;)
described_class.create!(:actions => actions, :out_formats => formats)
end
it 'returns GroupDocs::Job object' do
described_class.create!(:actions => actions).should be_a(GroupDocs::Job)
@@ -144,13 +143,13 @@
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 'updates job status' do
+ # subject.documents!
+ # subject.status.should == :archived
+ #end
it 'returns hash' do
subject.documents!.should be_a(Hash)
end