Sha256: 3707f93d25f36781fe3467ff5fc90f36f53f8b080e24a7a8da8acb74b702c534
Contents?: true
Size: 588 Bytes
Versions: 10
Compression:
Stored size: 588 Bytes
Contents
require "bundler/gem_tasks" require "rspec/core/rake_task" RSpec::Core::RakeTask.new(:spec) task :default => :spec namespace :spec do desc "Delete VCR and pre-generated UUID files" task :clean_all do FileUtils.rm Dir.glob('fixtures/uuid/*.yml') FileUtils.rm Dir.glob('fixtures/vcr_cassettes/*.yml') end desc "Delete VCR and pre-generated UUID files for a specific resource" task :clean, [:resource] do |t, args| FileUtils.rm Dir.glob("fixtures/uuid/#{args[:resource]}*.yml") FileUtils.rm Dir.glob("fixtures/vcr_cassettes/#{args[:resource]}*.yml") end end
Version data entries
10 entries across 10 versions & 1 rubygems