Sha256: 32927c69faebe6b29f9eafc04703ef63e6afc162ad4e7910a8634ce97cb5cc10
Contents?: true
Size: 329 Bytes
Versions: 3
Compression:
Stored size: 329 Bytes
Contents
require 'spec_helper.rb' describe "Uploads controller" do it "should create an upload" do post '/s3_multipart/uploads', {object_name: "example_object", content_type: "video/x-ms-wmv"} parsed_body = JSON.parse(response.body) parsed_body.should_not eq({"error"=>"There was an error initiating the upload"}) end end
Version data entries
3 entries across 3 versions & 1 rubygems