spec/lib/sdk4me/attachments_spec.rb in 4me-sdk-2.0.1 vs spec/lib/sdk4me/attachments_spec.rb in 4me-sdk-2.0.2
- old
+ new
@@ -309,10 +309,10 @@
}
stub_request(:get, 'https://api.4me.com/v1/attachments/storage').with(credentials(authentication)).to_return(status: 200, body: resp.to_json)
end
it 'should upload a file from disk' do
- Tempfile.create('4me_attachments_spec.txt') do |file|
+ Tempfile.create('4me_我attáchments_spec.txt') do |file|
file << 'foobar'
file.flush
a = attachments(authentication, '/requests')