Sha256: 28b2fd012069ebeb41360930c4a49fc81153ff5402cb79c53658febccee74a26

Contents?: true

Size: 344 Bytes

Versions: 2

Compression:

Stored size: 344 Bytes

Contents

require 'spec_helper'

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

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

    after do
      subject.stop
    end

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
guard-resque-0.0.2 spec/guard/resque_spec.rb
guard-resque-0.0.1 spec/guard/resque_spec.rb