spec/cli_spec.rb in taps-0.3.11 vs spec/cli_spec.rb in taps-0.3.12

- old
+ new

@@ -1,10 +1,10 @@ require File.dirname(__FILE__) + '/base' require 'taps/cli' describe Taps::Cli do - it "translates a list of tables into a regex that can be used in table_filter" do - @cli = Taps::Cli.new(["-t", "mytable1,logs", "sqlite://tmp.db", "http://x:y@localhost:5000"]) - opts = @cli.clientoptparse(:pull) - opts[:table_filter].should == "(^mytable1$|^logs$)" - end + it "translates a list of tables into a regex that can be used in table_filter" do + @cli = Taps::Cli.new(["-t", "mytable1,logs", "sqlite://tmp.db", "http://x:y@localhost:5000"]) + opts = @cli.clientoptparse(:pull) + opts[:table_filter].should == "(^mytable1$|^logs$)" + end end