Sha256: b4b3841f4b6388ac0428bc45af75d65c6e48f7a328a5f232da60f6d0fc6f2309

Contents?: true

Size: 444 Bytes

Versions: 11

Compression:

Stored size: 444 Bytes

Contents

describe TB::Runner do
  let(:runner) { described_class.new }

  context "runner" do
    # hacky sanity check
    it "run" do
      FileUtils.mkdir_p("tmp")
      FileUtils.rm_f("tmp/Terrafile.lock")
      FileUtils.cp("spec/fixtures/Terrafile", "tmp/Terrafile")
      Dir.chdir("tmp")
      runner.run
      # since no mods are configured
      file_exist = File.exist?("Terrafile.lock")
      expect(file_exist).to be false
    end
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
terraspace-bundler-0.5.0 spec/terraform_bundler/runner_spec.rb
terraspace-bundler-0.4.4 spec/terraform_bundler/runner_spec.rb
terraspace-bundler-0.4.3 spec/terraform_bundler/runner_spec.rb
terraspace-bundler-0.4.2 spec/terraform_bundler/runner_spec.rb
terraspace-bundler-0.4.1 spec/terraform_bundler/runner_spec.rb
terraspace-bundler-0.4.0 spec/terraform_bundler/runner_spec.rb
terraspace-bundler-0.3.4 spec/terraform_bundler/runner_spec.rb
terraspace-bundler-0.3.3 spec/terraform_bundler/runner_spec.rb
terraspace-bundler-0.3.2 spec/terraform_bundler/runner_spec.rb
terraspace-bundler-0.3.1 spec/terraform_bundler/runner_spec.rb
terraspace-bundler-0.3.0 spec/terraform_bundler/runner_spec.rb