Sha256: 61c0ac0578dfba35a68e9135d59bea65d99e63645445ed759050f6c44adb6922
Contents?: true
Size: 361 Bytes
Versions: 11
Compression:
Stored size: 361 Bytes
Contents
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 end
Version data entries
11 entries across 11 versions & 2 rubygems