Sha256: 31627863d143871dc70f1c01311625798ebfd3f5f746c91d491764e0521d6102

Contents?: true

Size: 410 Bytes

Versions: 11

Compression:

Stored size: 410 Bytes

Contents

require 'spec_helper'

describe '$ blazing list' 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::Commands.new(:file => File.join(File.dirname(__FILE__), '../../support/empty_config.rb')).list }.should == "dummy\n"
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

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