spec/unit/stash/sword2/client_spec.rb in stash-sword-0.1.1 vs spec/unit/stash/sword2/client_spec.rb in stash-sword-0.1.2
- old
+ new
@@ -88,10 +88,10 @@
expected_disposition = 'attachment'
mime_headers = {
'Packaging' => 'http://purl.org/net/sword/package/SimpleZip',
- 'Content-Disposition' => "#{expected_disposition}; name=payload; filename=\"example.zip\"",
+ 'Content-Disposition' => "#{expected_disposition}; name=\"payload\"; filename=\"example.zip\"",
'Content-Type' => 'application/zip',
'Content-MD5' => md5
}
aggregate_failures('MIME headers') do