Skip to content

Instantly share code, notes, and snippets.

@adorr
Created May 6, 2011 21:23
Show Gist options
  • Save adorr/959810 to your computer and use it in GitHub Desktop.
Save adorr/959810 to your computer and use it in GitHub Desktop.
Failures:
1) Phase validation upload_sizing: upload width and height are set, but thumbs are not set: only image uploads are enabled: only has a resize key
Failure/Error: @phase.upload_sizing.should == @expected
expected: {:resize=>{:width=>800, :height=>800}, :export=>{:use=>["resize", "resize_thumb"]}}
got: {:resize=>{:width=>800, :height=>800}, :export=>{:use=>["resize"]}} (using ==)
Diff:
@@ -1,3 +1,2 @@
-{:resize=>{:width=>800, :height=>800},
- :export=>{:use=>["resize", "resize_thumb"]}}
+{:resize=>{:width=>800, :height=>800}, :export=>{:use=>["resize"]}}
# ./spec/models/phase_spec.rb:193:in `block (6 levels) in <top (required)>'
2) Phase validation upload_sizing: upload width and height are set, but thumbs are not set: only video uploads are enabled: only has an encode key
Failure/Error: @phase.upload_sizing.should == @expected
expected: {:encode=>{:width=>800, :height=>800}, :export=>{:use=>["encode", "encode_thumb"]}}
got: {:encode=>{:width=>800, :height=>800}, :export=>{:use=>["encode"]}} (using ==)
Diff:
@@ -1,3 +1,2 @@
-{:encode=>{:width=>800, :height=>800},
- :export=>{:use=>["encode", "encode_thumb"]}}
+{:encode=>{:width=>800, :height=>800}, :export=>{:use=>["encode"]}}
# ./spec/models/phase_spec.rb:207:in `block (6 levels) in <top (required)>'
3) Phase validation upload_sizing: thumb sizes are set, regular sizes are not: only image uploads are enabled: only has a resize thumb key
Failure/Error: @phase.upload_sizing.should == @expected
expected: {:resize_thumb=>{:width=>75, :height=>75}, :export=>{:use=>["resize", "resize_thumb"]}}
got: {:resize_thumb=>{:width=>75, :height=>75}, :export=>{:use=>["resize_thumb"]}} (using ==)
Diff:
@@ -1,3 +1,2 @@
-{:resize_thumb=>{:width=>75, :height=>75},
- :export=>{:use=>["resize", "resize_thumb"]}}
+{:resize_thumb=>{:width=>75, :height=>75}, :export=>{:use=>["resize_thumb"]}}
# ./spec/models/phase_spec.rb:243:in `block (6 levels) in <top (required)>'
4) Phase validation upload_sizing: thumb sizes are set, regular sizes are not: only video uploads are enabled: only has an encode thumb key
Failure/Error: @phase.upload_sizing.should == @expected
expected: {:encode_thumb=>{:width=>75, :height=>75}, :export=>{:use=>["encode", "encode_thumb"]}}
got: {:encode_thumb=>{:width=>75, :height=>75}, :export=>{:use=>["encode_thumb"]}} (using ==)
Diff:
@@ -1,3 +1,2 @@
-{:encode_thumb=>{:width=>75, :height=>75},
- :export=>{:use=>["encode", "encode_thumb"]}}
+{:encode_thumb=>{:width=>75, :height=>75}, :export=>{:use=>["encode_thumb"]}}
# ./spec/models/phase_spec.rb:257:in `block (6 levels) in <top (required)>'
Finished in 1.09 seconds
30 examples, 4 failures
a-box :: ~/projects/uploadable ‹develop*› »
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment