Sha256: 775c2a036855334ea9480ce94478db997028e00a27625d1a540c60d1dfed5108
Contents?: true
Size: 323 Bytes
Versions: 1
Compression:
Stored size: 323 Bytes
Contents
require 'spec_helper' describe RailsImager::CacheHandler do it 'works' do File.open("#{RailsImager.cache_handler.path}/test.png", "w").close files = [] RailsImager.cache_handler.clear do |file| files << file end expect(files).to include "#{RailsImager.cache_handler.path}/test.png" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rails_imager-0.0.30 | spec/cache_handler_spec.rb |