Sha256: d0c35c8209157b7c7d7e2fb11fa75661be556127cb36e6ce0b50e18c4dc9e4c5
Contents?: true
Size: 572 Bytes
Versions: 1
Compression:
Stored size: 572 Bytes
Contents
require 'test/unit' require File.dirname(__FILE__) + '/../lib/staticmatic' class StaticMaticTest < Test::Unit::TestCase def setup @base_dir = File.dirname(__FILE__) + '/sandbox' StaticMatic.base_dirs.reverse.each do |dir| Dir.delete("#{@base_dir}/#{dir}") if File.exists?("#{@base_dir}/#{dir}") end end def test_should_setup_directories staticmatic = StaticMatic.new(@base_dir) staticmatic.setup StaticMatic.base_dirs.each do |dir| assert File.exists?("#{@base_dir}/#{dir}"), "Should create #{dir}" end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
staticmatic-0.0.1 | test/staticmatic_test.rb |