Sha256: 46c3db0c25e91c391d13b1679e3387c2e423f890e627ddccc62f259b58357f61
Contents?: true
Size: 517 Bytes
Versions: 20
Compression:
Stored size: 517 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' require 'rake' require 'fileutils' describe 'geoblacklight.rake' do describe 'geoblacklight:downloads:mkdir' do before do Rails.application.load_tasks FileUtils.rm_rf Rails.root.join('tmp', 'cache', 'downloads') end it 'creates the tmp/cache/downloads directory' do Rake::Task['geoblacklight:downloads:mkdir'].invoke expect(File.directory?(Rails.root.join('tmp', 'cache', 'downloads'))) .to be true end end end
Version data entries
20 entries across 20 versions & 1 rubygems