Sha256: 367a02592f796f71915d5260b9dd47b01e4491485ba3b3763ca10afc8de10355

Contents?: true

Size: 651 Bytes

Versions: 30

Compression:

Stored size: 651 Bytes

Contents

require 'test_helper'

class LabsTest < Minitest::Test
  def setup
    @buildpack_path = File.expand_path 'test/fixtures/buildpacks/heroku-buildpack-ruby'
  end

  def test_can_deploy_git_app
    # You can't enable preboot on a free app.
    # BUT you can't make an app hobby until you've deploy once
    # Catch-22
    # lab_name = "preboot"
    # app = Hatchet::App.new("rails3_mri_193", labs: lab_name, buildpack: @buildpack_path)
    # app.setup!
    # assert(app.lab_is_installed?(lab_name), "Expected #{app.get_labs.inspect} to include {'name' => '#{lab_name}' } but it did not")
    assert(true)
  # ensure
  #   app.teardown! if app
  end
end

Version data entries

30 entries across 30 versions & 1 rubygems

Version Path
heroku_hatchet-4.0.0 test/hatchet/labs_test.rb
heroku_hatchet-3.1.1 test/hatchet/labs_test.rb
heroku_hatchet-3.1.0 test/hatchet/labs_test.rb
heroku_hatchet-3.0.6 test/hatchet/labs_test.rb
heroku_hatchet-3.0.5 test/hatchet/labs_test.rb
heroku_hatchet-3.0.4 test/hatchet/labs_test.rb
heroku_hatchet-3.0.3 test/hatchet/labs_test.rb
heroku_hatchet-3.0.2 test/hatchet/labs_test.rb
heroku_hatchet-3.0.1 test/hatchet/labs_test.rb
heroku_hatchet-3.0.0 test/hatchet/labs_test.rb