spec/lib/cli_spec.rb in picky-1.2.4 vs spec/lib/cli_spec.rb in picky-1.3.0

- old
+ new

@@ -25,9 +25,18 @@ @cli.executor_class_for(:help).should == [Picky::CLI::Help] end it 'returns Statistics for stats' do @cli.executor_class_for(:stats).should == [Picky::CLI::Statistics, "logfile, e.g. log/search.log", "port (optional)"] end + it 'returns Live for live' do + @cli.executor_class_for(:live).should == [Picky::CLI::Live, "host:port/path (optional, default: localhost:8080/admin)", "port (optional)"] + end + end + end + + describe Picky::CLI::Live do + before(:each) do + @cli = Picky::CLI::Live.new end end describe Picky::CLI::Base do before(:each) do \ No newline at end of file