Sha256: c85b61777cec9430e2ebe43171bf37836238e534e8bafd3c090cb3b29edad71d

Contents?: true

Size: 446 Bytes

Versions: 9

Compression:

Stored size: 446 Bytes

Contents

require 'spec_helper'
require 'blazing/config'
require 'blazing/commands'

describe '$ blazing init' do

  before :each do
    setup_sandbox
    Blazing::Commands.new.init
  end

  after :each do
    teardown_sandbox
  end

  it 'creates a config directory if none exists yet' do
    File.exists?('config').should be true
  end

  it 'creates a config file in config/blazing.rb' do
    File.exists?('config/blazing.rb').should be true
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
blazing-0.4.2 spec/blazing/integration/init_spec.rb
blazing-0.4.1 spec/blazing/integration/init_spec.rb
blazing-0.4.0 spec/blazing/integration/init_spec.rb
blazing-0.4.0.beta3 spec/blazing/integration/init_spec.rb
blazing-0.4.0.beta2 spec/blazing/integration/init_spec.rb
blazing-0.4.0.beta1 spec/blazing/integration/init_spec.rb
blazing-0.3.0 spec/blazing/integration/init_spec.rb
blazing-0.2.14 spec/blazing/integration/init_spec.rb
blazing-0.2.13 spec/blazing/integration/init_spec.rb