spec/netprint/agent_spec.rb in netprint-0.3.0 vs spec/netprint/agent_spec.rb in netprint-0.3.1
- old
+ new
@@ -117,10 +117,10 @@
filename = File.expand_path(pdf_filename)
@agent.login
lambda {
@agent.upload(filename)
- }.should raise_error(UploadError)
+ }.should raise_error(UploadError, 'error message')
end
end
context 'filename is ASCII only' do
let(:pdf_filename) { File.dirname(__FILE__) + '/../foo.pdf' }