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