Sha256: 2aca6ebdf34cb2fb258b98008ac8a80110df3ed5b6d15a90746f52735b587df0
Contents?: true
Size: 405 Bytes
Versions: 27
Compression:
Stored size: 405 Bytes
Contents
# encoding: utf-8 Given /^the file '(.*?)' is cached file at '(.*?)'$/ do |file, cached| FileUtils.mkdir_p(File.dirname(file_path(cached))) FileUtils.cp(file_path(file), file_path(cached)) end When /^I cache the file '(.*?)'$/ do |file| @uploader.cache!(File.open(file_path(file))) end When /^I retrieve the cache name '(.*?)' from the cache$/ do |name| @uploader.retrieve_from_cache!(name) end
Version data entries
27 entries across 27 versions & 6 rubygems