spec/groupdocs/job_spec.rb in groupdocs-0.2.11 vs spec/groupdocs/job_spec.rb in groupdocs-0.3.0
- old
+ new
@@ -110,12 +110,11 @@
end
end
describe '#actions' do
it 'converts actions to human-readable format' do
- subject.actions = 129
- described_class.should_receive(:convert_byte_to_actions).with(129)
- subject.actions
+ subject.actions = 'Convert, Combine, CompressZip'
+ subject.actions.should == [:convert, :combine, :compress_zip]
end
end
describe '#documents!' do
before(:each) do