Sha256: fb2a1ea6f1e30295b2d9c5a06a0589df2edeba321575816d9ad7bfaa5b4f1cdb

Contents?: true

Size: 351 Bytes

Versions: 11

Compression:

Stored size: 351 Bytes

Contents

require File.expand_path('../test_helper', __FILE__)

describe "dante module" do
  before do
    @process = TestingProcess.new('a')
  end

  it "can run jobs using #run method" do
    capture_stdout do
      Dante.run('test-process') { @process.run_a! }
    end
    @output = File.read(@process.tmp_path)
    assert_match /Started/, @output
  end

end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dante-0.2.0 test/dante_test.rb
dante-0.1.5 test/dante_test.rb
dante-0.1.4 test/dante_test.rb
dante-0.1.3 test/dante_test.rb
dante-0.1.2 test/dante_test.rb
dante-0.1.1 test/dante_test.rb
dante-0.1.0 test/dante_test.rb
dante-0.0.4 test/dante_test.rb
dante-0.0.3 test/dante_test.rb
dante-0.0.2 test/dante_test.rb
dante-0.0.1 test/dante_test.rb