Sha256: bd001ef0aadd4ac100db7cdb0ad0e2162abb83659b9c833d85ff14d316dedfa5

Contents?: true

Size: 502 Bytes

Versions: 6

Compression:

Stored size: 502 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::Generator do
  before(:each) do
    options = {
      name: "tmp/hello"
    }
    @generator = ThorTemplate::Generator.new(options)
  end

  it "should generate" do
    @generator.run
    expect(File.exist?("tmp/hello")).to be_truthy
    expect(File.exist?("tmp/hello/hello.gemspec")).to be_truthy
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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