Sha256: dd956b9b45dcfe62cd3201804a6be15b3267395f8739d47a47b9d01dde039076

Contents?: true

Size: 511 Bytes

Versions: 6

Compression:

Stored size: 511 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 = "--noop"
  end

  describe "new" do
    it "should generate" do
      out = execute("cd tmp && ../bin/thor_template new hello #{@args}")
      expect(out).to include("Created hello project!")
    end
  end
end

VCR.configure do |config|
  config.ignore_hosts 'codeclimate.com'
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
thor_template-1.0.1 spec/lib/cli_spec.rb
thor_template-1.0.0 spec/lib/cli_spec.rb
thor_template-0.0.8 spec/lib/cli_spec.rb
thor_template-0.0.7 spec/lib/cli_spec.rb
thor_template-0.0.6 spec/lib/cli_spec.rb
thor_template-0.0.5 spec/lib/cli_spec.rb