Sha256: d84aed304bd7c9a44326ffcdff894ba2ac6ff55191e53580692704e5a7dd1d39

Contents?: true

Size: 732 Bytes

Versions: 12

Compression:

Stored size: 732 Bytes

Contents

require_relative "../spec_helper.rb"

RSpec.describe "This buildpack" do
  it "has its own tests" do
    raise "delete this and replace it with your own logic"

    # Specify where you want your buildpack to go using :default
    buildpacks = [:default, "heroku/ruby"]

    # To deploy a different app modify the hatchet.json or
    # commit an app to your source control and use a path
    # instead of "default_ruby" here
    Hatchet::Runner.new("default_ruby", buildpacks: buildpacks).tap do |app|
      app.before_deploy do
        # Modfiy the app here if you need
      end
      app.deploy do
        # Assert the behavior you desire here
        expect(app.output).to match("deployed to Heroku")
      end
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
heroku_hatchet-8.0.4 lib/hatchet/templates/buildpack_spec.erb
heroku_hatchet-8.0.3 lib/hatchet/templates/buildpack_spec.erb
heroku_hatchet-8.0.2 lib/hatchet/templates/buildpack_spec.erb
heroku_hatchet-8.0.1 lib/hatchet/templates/buildpack_spec.erb
heroku_hatchet-8.0.0 lib/hatchet/templates/buildpack_spec.erb
heroku_hatchet-7.4.0 lib/hatchet/templates/buildpack_spec.erb
heroku_hatchet-7.3.4 lib/hatchet/templates/buildpack_spec.erb
heroku_hatchet-7.3.3 lib/hatchet/templates/buildpack_spec.erb
heroku_hatchet-7.3.2 lib/hatchet/templates/buildpack_spec.erb
heroku_hatchet-7.3.1 lib/hatchet/templates/buildpack_spec.erb
heroku_hatchet-7.3.0 lib/hatchet/templates/buildpack_spec.erb
heroku_hatchet-7.2.0 lib/hatchet/templates/buildpack_spec.erb