Sha256: 353ecfb11ef59b7a3efec90b9d402847110d746b45ba77aaa3c46efd77146bf4
Contents?: true
Size: 442 Bytes
Versions: 2
Compression:
Stored size: 442 Bytes
Contents
require "spec_helper" # to run specs with what"s remembered from vcr # $ rake # # to run specs with new fresh data from aws api calls # $ rake clean:vcr ; time rake describe TicktokCli::CLI do before(:all) do @args = "--from Tung" end describe "ticktok-cli" do it "should hello world" do out = execute("exe/ticktok-cli hello world #{@args}") expect(out).to include("from: Tung\nHello world") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ticktok-cli-0.1.2 | spec/lib/cli_spec.rb |
ticktok-cli-0.1.1 | spec/lib/cli_spec.rb |