Permalink
Browse files

Remove unnecessary wording

  • Loading branch information...
bensie committed Jan 6, 2013
1 parent d86a74b commit 9b66c4f4a9249398db3984205853706fa770a016
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/carrierwave/uploader/download.rb
  2. +1 −1 spec/uploader/download_spec.rb
@@ -38,7 +38,7 @@ def file
@file
rescue Exception => e
- raise CarrierWave::DownloadError, "could not download file cause: #{e.message}"
+ raise CarrierWave::DownloadError, "could not download file: #{e.message}"
end
def method_missing(*args, &block)
@@ -105,7 +105,7 @@
it 'should not obscure original exception message' do
expect {
@uploader.download!('http://www.example.com/missing.jpg')
- }.to raise_error(CarrierWave::DownloadError, 'could not download file cause: 404 ')
+ }.to raise_error(CarrierWave::DownloadError, 'could not download file: 404 ')
end
describe '#download! with an extension_white_list' do

0 comments on commit 9b66c4f

Please sign in to comment.