Sha256: 7d4f3792127cd6fe861347a88312260d97a708b76e38d284c56139c19950331f

Contents?: true

Size: 466 Bytes

Versions: 17

Compression:

Stored size: 466 Bytes

Contents

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

#
# NOTE: More specs for Runner in the integration directory.
#

describe Blazing::Runner do

  before :each do
    @config = Blazing::Config.new
    @config.target :sometarget, 'somewhere', :default => true
  end

  describe '#exec' do

    it 'fails if the command does not exist' do
      lambda { Blazing::Runner.new(@config).exec('weird_command') }.should raise_error
    end

  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

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