Sha256: a9e705ce80f10af7560fb59ea686c87322fc8c314f56c0a7602ddd3cba74900a
Contents?: true
Size: 572 Bytes
Versions: 1
Compression:
Stored size: 572 Bytes
Contents
require 'spec_helper' require 'guard/rack/runner' describe 'Integration' do let(:runner) { Guard::RackRunner.new(options) } let(:options) { { environment: 'development', port: 3000, config: 'spec/lib/guard/integration.ru' } } describe '#start' do context 'run' do it 'should run' do runner.start.should be_true pid = runner.pid pid.should_not be_nil Process.getpgid(pid).should be > 0 runner.stop expect do Process.getpgid(pid) end.to raise_error Errno::ESRCH end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
guard-rack-1.4.0 | spec/lib/guard/integration_spec.rb |