Sha256: b4029521b1ccfa4e38946359929411f2a4cefc8d1153a37690d94fddb28cfc0f

Contents?: true

Size: 352 Bytes

Versions: 8

Compression:

Stored size: 352 Bytes

Contents

require 'spec_helper'

describe Guard::Delayed do
  subject { Guard::Delayed.new }

  describe "start" do
    before do
      subject = Guard::Delayed.new
    end

    after do
      subject.stop
    end

    it "should create a pid in /tmp/pids" do
      subject.start
      Dir.glob("tmp/pids/delayed_job*.pid").should_not be_empty
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
guard-delayed-0.1.1 spec/guard/delayed_spec.rb
guard-delayed-0.1.0 spec/guard/delayed_spec.rb
guard-delayed-0.0.9 spec/guard/delayed_spec.rb
guard-delayed-0.0.8 spec/guard/delayed_spec.rb
guard-delayed-0.0.7 spec/guard/delayed_spec.rb
guard-delayed-0.0.6 spec/guard/delayed_spec.rb
guard-delayed-0.0.5 spec/guard/delayed_spec.rb
guard-delayed-0.0.4 spec/guard/delayed_spec.rb