Sha256: 2dd9df8bbf09fc55e4777dbd34fd3252f6917ccf1241b3dddddf2543c7716b34

Contents?: true

Size: 394 Bytes

Versions: 15

Compression:

Stored size: 394 Bytes

Contents

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

describe 'blazing init' do

  before :each do
    setup_sandbox
  end

  after :each do
    teardown_sandbox
  end

  it 'prints a list of the available recipes' do
    class Blazing::Recipe::Dummy < Blazing::Recipe
    end
    capture(:stdout) { Blazing::Runner.new.exec('recipes:list') }.should == "dummy\n"
  end

end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
blazing-0.2.7 spec/blazing/integration/recipes_list_spec.rb
blazing-0.2.6 spec/blazing/integration/recipes_list_spec.rb
blazing-0.2.5 spec/blazing/integration/recipes_list_spec.rb
blazing-0.2.4 spec/blazing/integration/recipes_list_spec.rb
blazing-0.2.3 spec/blazing/integration/recipes_list_spec.rb
blazing-0.2.2 spec/blazing/integration/recipes_list_spec.rb
blazing-0.2.1 spec/blazing/integration/recipes_list_spec.rb
blazing-0.2.0 spec/blazing/integration/recipes_list_spec.rb
blazing-0.1.3 spec/blazing/integration/recipes_list_spec.rb
blazing-0.1.2 spec/blazing/integration/recipes_list_spec.rb
blazing-0.1.1 spec/blazing/integration/recipes_list_spec.rb
blazing-0.1.0 spec/blazing/integration/recipes_list_spec.rb
blazing-0.1.0.alpha6 spec/blazing/integration/recipes_list_spec.rb
blazing-0.1.0.alpha5 spec/blazing/integration/recipes_list_spec.rb
blazing-0.1.0.alpha4 spec/blazing/integration/recipes_list_spec.rb