Skip to content

Commit

Permalink
add a test to check that this runs on heroku-24 (#1468)
Browse files Browse the repository at this point in the history
expect new line at the end of the `which` command output by stripping it to satisfy the test

using the getting started fixture as expected by the current spec file

Co-authored-by: Richard Schneeman <[email protected]>
  • Loading branch information
lilacstella and schneems authored Jun 19, 2024
1 parent 168cb5d commit cf25ace
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/hatchet/getting_started_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,10 @@
expect(app.run("ls tmp/cache/assets")).to_not match("sprockets")
end
end

it "works on Heroku-24" do
Hatchet::Runner.new("ruby-getting-started", stack: "heroku-24").deploy do |app|
expect(app.run("which ruby").strip).to eq("/app/bin/ruby")
end
end
end

0 comments on commit cf25ace

Please sign in to comment.