Sha256: 52aeb162a6881f061ea1ce9e678a1e11faecf319eeb6a8af06192122cff898f2
Contents?: true
Size: 526 Bytes
Versions: 1
Compression:
Stored size: 526 Bytes
Contents
require 'test/unit' require './test/lib/case_testable' module Reap module TestCases class TestInit < Test::Unit::TestCase include CaseTestable def setup super @dir = File.join(TEMPDIR, 'init') FileUtils.rm_r @dir if File.exist?(@dir) FileUtils.mkdir_p(@dir) end def test_init Dir.chdir(@dir) do silently do system "reap-init" end end assert(File.exist?('.reap')) assert(File.exist?('meta/project.yaml')) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reap-9.4.0 | test/case/test_init.rb |