Skip to content

Commit

Permalink
Merge branch 'fix_broken_spec'
Browse files Browse the repository at this point in the history
  • Loading branch information
rockrep committed Apr 26, 2014
2 parents 8241fd6 + 07084ae commit b40b8aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/unit/upload_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ class Upload
end

it "should initiate an upload" do
@upload.stub(:unique_name) {'name'}
response = @upload.initiate( object_name: "example_object.wmv",
content_type: "video/x-ms-wmv" )

Expand Down Expand Up @@ -44,4 +45,4 @@ class Upload

response[:error].should eql("Upload does not exist")
end
end
end

0 comments on commit b40b8aa

Please sign in to comment.