Sha256: e8c37282c949a151f35c3dc0aff2a6529998329bc5e95acb91e9f3e10274a7a3

Contents?: true

Size: 272 Bytes

Versions: 8

Compression:

Stored size: 272 Bytes

Contents

require 'spec_helper'

describe Blazing::Runner do
  describe '#run' do
    it 'delegates run to Kernel#system' do
      @command = 'ls'
      @runner = Blazing::Runner.new
      @runner.should_receive(:system).with(@command)
      @runner.run(@command)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
blazing-0.0.16 spec/blazing/runner_spec.rb
blazing-0.0.15 spec/blazing/runner_spec.rb
blazing-0.0.14 spec/blazing/runner_spec.rb
blazing-0.0.13 spec/blazing/runner_spec.rb
blazing-0.0.12 spec/blazing/runner_spec.rb
blazing-0.0.10 spec/blazing/runner_spec.rb
blazing-0.0.9 spec/blazing/runner_spec.rb
blazing-0.0.8 spec/blazing/runner_spec.rb