Skip to content

Instantly share code, notes, and snippets.

@petrblaho
Created June 29, 2011 15:43
Show Gist options
  • Save petrblaho/1054123 to your computer and use it in GitHub Desktop.
Save petrblaho/1054123 to your computer and use it in GitHub Desktop.
Failures:
1) ThemeAsset attaching a file file is a picture should process picture
Failure/Error: @asset.source = FixturedAsset.open('5k.png')
NameError:
uninitialized constant Magick
# ./lib/locomotive/carrierwave/asset.rb:56:in `set_width_and_height'
# ./spec/models/theme_asset_spec.rb:17
2) ThemeAsset attaching a file file is a picture should get width and height from the image
Failure/Error: @asset.source = FixturedAsset.open('5k.png')
NameError:
uninitialized constant Magick
# ./lib/locomotive/carrierwave/asset.rb:56:in `set_width_and_height'
# ./spec/models/theme_asset_spec.rb:23
3) ThemeAsset attaching a file local path and folder should set the local path based on the content type
Failure/Error: @asset.source = FixturedAsset.open('5k.png')
NameError:
uninitialized constant Magick
# ./lib/locomotive/carrierwave/asset.rb:56:in `set_width_and_height'
# ./spec/models/theme_asset_spec.rb:33
4) ThemeAsset attaching a file local path and folder should set the local path based on the folder
Failure/Error: @asset.source = FixturedAsset.open('5k.png')
NameError:
uninitialized constant Magick
# ./lib/locomotive/carrierwave/asset.rb:56:in `set_width_and_height'
# ./spec/models/theme_asset_spec.rb:40
5) ThemeAsset attaching a file local path and folder should set sanitize the local path
Failure/Error: @asset.source = FixturedAsset.open('5k.png')
NameError:
uninitialized constant Magick
# ./lib/locomotive/carrierwave/asset.rb:56:in `set_width_and_height'
# ./spec/models/theme_asset_spec.rb:47
6) ThemeAsset attaching a file#validation is not valid if another file with the same path exists
Failure/Error: @asset.source = FixturedAsset.open('5k.png')
NameError:
uninitialized constant Magick
# ./lib/locomotive/carrierwave/asset.rb:56:in `set_width_and_height'
# ./spec/models/theme_asset_spec.rb:63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment