Sha256: 226c29e7907d04894ba661594e88c497977bce5897565369190c3d7ebda1ea77

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 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("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

1 entries across 1 versions & 1 rubygems

Version Path
thor_template-0.0.1 spec/lib/cli_spec.rb