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

Version Path
pdd-0.24.0 test/test_rake_task.rb
pdd-0.23.2 test/test_rake_task.rb
pdd-0.23.1 test/test_rake_task.rb
pdd-0.23.0 test/test_rake_task.rb
pdd-0.22.0 test/test_rake_task.rb
pdd-0.21.3 test/test_rake_task.rb
pdd-0.21.2 test/test_rake_task.rb
pdd-0.21.1 test/test_rake_task.rb
pdd-0.21.0 test/test_rake_task.rb
pdd-0.20.8 test/test_rake_task.rb