Sha256: 7b6c8583e7d710ed357d69a09917ddfbd8bb62fb8055c9facf003ad8efd4b588
Contents?: true
Size: 613 Bytes
Versions: 15
Compression:
Stored size: 613 Bytes
Contents
require File.dirname(__FILE__) + "/spec_helper" describe "StaticMatic::Setup" do before do setup_staticmatic @tmp_dir = File.dirname(__FILE__) + '/sandbox/tmp' staticmatic = StaticMatic::Base.new(@tmp_dir) staticmatic.run('setup') end it "should set up project directory in given path" do %w( site/images site/javascripts site/stylesheets src/layouts/site.haml src/pages/index.haml src/stylesheets/screen.sass config/site.rb ).each {|path| File.exists?(File.join(@tmp_dir, path)).should(be_true, "#{path} expected to exist in #{@tmp_dir}") } end end
Version data entries
15 entries across 15 versions & 2 rubygems