Sha256: f2279d8b30c79a502aece4c826f43cf57be5e81d7131f009a0dfcf7f90b52752

Contents?: true

Size: 938 Bytes

Versions: 4

Compression:

Stored size: 938 Bytes

Contents

require 'spec_helper'
require 'awestruct/cli/init'
require 'logger'

describe Awestruct::CLI::Init do
  before(:each) do
    FileUtils.mkdir_p 'spec/support/clean_init'
  end

  after(:each) do
    FileUtils.rm_rf 'spec/support/clean_init'
  end

  it "should not fail during init with compass" do 
    init = Awestruct::CLI::Init.new('spec/support/clean_init', 'compass', true)
    expect(init.run).to eql true
  end
  it "should not fail during init with foundation" do 
    init = Awestruct::CLI::Init.new('spec/support/clean_init', 'foundation', true)
    expect(init.run).to eql true
  end
  it "should not fail during init with bootstrap" do 
    init = Awestruct::CLI::Init.new('spec/support/clean_init', 'bootstrap', true)
    expect(init.run).to eql true 
  end
  it "should not fail during init with 960" do 
    init = Awestruct::CLI::Init.new('spec/support/clean_init', '960', true)
    expect(init.run).to eql true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
awestruct-0.5.6 spec/awestruct/cli/init_spec.rb
awestruct-0.5.6.beta9 spec/awestruct/cli/init_spec.rb
awestruct-0.5.6.beta8 spec/awestruct/cli/init_spec.rb
awestruct-0.5.6.beta7 spec/awestruct/cli/init_spec.rb