Sha256: 5c4eeeb1e93212a75de9a4f463bd656c7334a6f8ad0e725842e7c5b7d54d5361

Contents?: true

Size: 436 Bytes

Versions: 2

Compression:

Stored size: 436 Bytes

Contents

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

describe 'blazing init' do

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

2 entries across 2 versions & 1 rubygems

Version Path
blazing-0.2.10 spec/blazing/integration/init_spec.rb
blazing-0.2.9 spec/blazing/integration/init_spec.rb