Sha256: be1cc268673e88191c1d5199c2cfbce7ad267525669266a973f575d78cce2d4a
Contents?: true
Size: 414 Bytes
Versions: 4
Compression:
Stored size: 414 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper' describe Command do before do @command = Command.new(:start, :port => 3000, :daemonize => true, :log => 'hi.log', :pid => nil) @command.silent = true end it 'should shellify command' do out = @command.shellify out.should include('--port=3000', '--daemonize', '--log="hi.log"', 'thin start --') out.should_not include('--pid=') end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
thin-0.6.3-x86-mswin32-60 | spec/command_spec.rb |
thin-0.6.4 | spec/command_spec.rb |
thin-0.6.3 | spec/command_spec.rb |
thin-0.6.4-x86-mswin32-60 | spec/command_spec.rb |