Sha256: aaaf8964e91b508f16be3eb5f66fcfb65b7b563a0599f77f4100d9aa43752b12
Contents?: true
Size: 469 Bytes
Versions: 11
Compression:
Stored size: 469 Bytes
Contents
require 'spec_helper' require 'blazing/config' require 'blazing/runner' describe 'blazing init' do before :each do setup_sandbox capture(:stdout) { 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
11 entries across 11 versions & 1 rubygems