Sha256: 805684a4786d153fe7a205fbcfea9a7113c30c3b135b6cf97896d230f17e9ae1

Contents?: true

Size: 761 Bytes

Versions: 7

Compression:

Stored size: 761 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 without framework" do
    init = Awestruct::CLI::Init.new('spec/support/clean_init')
    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
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
awestruct-0.6.7 spec/awestruct/cli/init_spec.rb
awestruct-0.6.6 spec/awestruct/cli/init_spec.rb
awestruct-0.6.5 spec/awestruct/cli/init_spec.rb
awestruct-0.6.4 spec/awestruct/cli/init_spec.rb
awestruct-0.6.3 spec/awestruct/cli/init_spec.rb
awestruct-0.6.2 spec/awestruct/cli/init_spec.rb
awestruct-0.6.1 spec/awestruct/cli/init_spec.rb