spec/option_parser_spec.rb in launch-agent-0.6.0 vs spec/option_parser_spec.rb in launch-agent-0.6.1

- old
+ new

@@ -31,9 +31,19 @@ CLI::OptionParser.new(opts, []).agent }.should raise_error('full command must be supplied') end end + describe 'empty env' do + let(:opts) do + @opts.merge( + :env => nil, + :daemon => true) + end + + it_should_behave_like 'valid agent' + end + describe 'empty options' do let(:opts) do @opts end