spec/ftp_spec.rb in carrierwave-ftp-0.2.1 vs spec/ftp_spec.rb in carrierwave-ftp-0.2.2
- old
+ new
@@ -16,10 +16,10 @@
config.ftp_url = 'http://testcarrierwave.dev'
config.ftp_passive = true
end
@file = CarrierWave::SanitizedFile.new(file_path('test.jpg'))
- FtpUploader.stub!(:store_path).and_return('uploads/test.jpg')
+ FtpUploader.stub(:store_path).and_return('uploads/test.jpg')
@storage = CarrierWave::Storage::FTP.new(FtpUploader)
end
it "opens/closes an ftp connection to the given host" do
ftp = double(:ftp_connection)