Sha256: ad32a1c38dd76532c43adbdef35bedc98b7be2c838c516f2f9af96421044eccd
Contents?: true
Size: 416 Bytes
Versions: 10
Compression:
Stored size: 416 Bytes
Contents
require 'minitest/autorun' require 'tmpdir' require 'rake' require_relative '../lib/pdd/rake_task' # Test for RakeTask class TestRakeTask < Minitest::Test def test_basic Dir.mktmpdir 'test' do |dir| file = File.join(dir, 'a.txt') File.write(file, "\x40todo #55 hello!") PDD::RakeTask.new(:pdd1) do |task| task.quiet = true end Rake::Task['pdd1'].invoke end end end
Version data entries
10 entries across 10 versions & 1 rubygems