spec/cli_spec.rb in redis_failover-0.4.0 vs spec/cli_spec.rb in redis_failover-0.5.0

- old
+ new

@@ -5,14 +5,9 @@ describe '.parse' do it 'returns empty result for empty options' do CLI.parse({}).should == {} end - it 'properly parses a server port' do - opts = CLI.parse(['-P 2222']) - opts.should == {:port => 2222} - end - it 'properly parses redis nodes' do opts = CLI.parse(['-n host1:1,host2:2,host3:3']) opts[:nodes].should == [ {:host => 'host1', :port => '1'}, {:host => 'host2', :port => '2'},