Sha256: d3014b2c885428d6a5a99b7a06443bf2afaaaddd141bebde469f2628e81d6e2b

Contents?: true

Size: 448 Bytes

Versions: 6

Compression:

Stored size: 448 Bytes

Contents

require 'spec_helper'
require 'blazing/config'
require 'blazing/runner'

describe 'blazing init' do

  before :each do
    setup_sandbox
    Blazing::Runner.new.exec('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

6 entries across 6 versions & 1 rubygems

Version Path
blazing-0.2.7 spec/blazing/integration/init_spec.rb
blazing-0.2.6 spec/blazing/integration/init_spec.rb
blazing-0.2.5 spec/blazing/integration/init_spec.rb
blazing-0.2.4 spec/blazing/integration/init_spec.rb
blazing-0.2.3 spec/blazing/integration/init_spec.rb
blazing-0.2.2 spec/blazing/integration/init_spec.rb