Sha256: 0e069cafadc9a2d92676ef5d05fd97d229c10f2c69f15ff0bed45a65b0c7dc00
Contents?: true
Size: 458 Bytes
Versions: 3
Compression:
Stored size: 458 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 ThorTemplate::CLI do before(:all) do @args = "--from Tung" end describe "USER_PROVIDED_NAME" do it "should hello world" do out = execute("bin/USER_PROVIDED_NAME hello world #{@args}") expect(out).to include("from: Tung\nHello world") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
thor_template-2.0.2 | lib/starter_project/spec/lib/cli_spec.rb |
thor_template-2.0.1 | lib/starter_project/spec/lib/cli_spec.rb |
thor_template-2.0.0 | lib/starter_project/spec/lib/cli_spec.rb |