Sha256: 2195c8b6f78678c99e54044ae6701c9e5ead801d8d65d6d108330a9ee69aac54
Contents?: true
Size: 540 Bytes
Versions: 2
Compression:
Stored size: 540 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 FileUtils.rm_rf("tmp/hello") @args = "--noop" end describe "new" do it "should generate" do out = execute("cd tmp && ../bin/thor_template new hello #{@args}") out.should include("Created hello project!") end end end VCR.configure do |config| config.ignore_hosts 'codeclimate.com' end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thor_template-0.0.3 | spec/lib/cli_spec.rb |
thor_template-0.0.2 | spec/lib/cli_spec.rb |