Module: CarrierWave::TestFile
- Defined in:
- lib/carrier_wave/test_file.rb
Overview
Helper module for making test files in carrierwave available to tests
Class Method Summary collapse
Class Method Details
.path(filename) ⇒ Object
4 5 6 |
# File 'lib/carrier_wave/test_file.rb', line 4 def self.path filename Cardio::Mod.fetch("carrierwave").subpath "data", "files", filename end |