Sha256: c8afc754e5acf3d2d6af9bf70047c8cec92c262e965b754684569ad7155b2d6f
Contents?: true
Size: 406 Bytes
Versions: 21
Compression:
Stored size: 406 Bytes
Contents
# encoding: utf-8 require File.dirname(__FILE__) + '/../spec_helper' describe CarrierWave::Uploader do before do @uploader_class = Class.new(CarrierWave::Uploader::Base) @uploader = @uploader_class.new end after do FileUtils.rm_rf(public_path) end describe '#root' do it "should default to the config option" do @uploader.root.should == public_path end end end
Version data entries
21 entries across 21 versions & 6 rubygems