diff --git a/hatchet.json b/hatchet.json index 6968997e6..9a4827047 100644 --- a/hatchet.json +++ b/hatchet.json @@ -50,9 +50,9 @@ "sharpstone/minimal_webpacker" ], "ci": [ - "sharpstone/rails5_ruby_schema_format", + "sharpstone/rails_8_ruby_schema", "sharpstone/heroku-ci-json-example", - "sharpstone/rails5_sql_schema_format", + "sharpstone/rails_8_sql_schema", "sharpstone/ruby_no_rails_test", "sharpstone/activerecord_rake_tasks_does_not_exist" ] diff --git a/hatchet.lock b/hatchet.lock index b1fa5cbc5..578a6e555 100644 --- a/hatchet.lock +++ b/hatchet.lock @@ -13,10 +13,10 @@ - a6b711be6921cf7a0aa4e31269c37965799ea110 - - "./repos/ci/heroku-ci-json-example" - 4e5410a7381f486ba3df7739e02e52f32fdd4dda -- - "./repos/ci/rails5_ruby_schema_format" - - 8b8a3a7850bdba29bdefc70c0f80f35a9e6c96ae -- - "./repos/ci/rails5_sql_schema_format" - - ee81b300a1019b47bbcaec0a512932df7dc23bc0 +- - "./repos/ci/rails_8_ruby_schema" + - 32a4dce6c43834752dd9f263c41290a4ff168795 +- - "./repos/ci/rails_8_sql_schema" + - e00d7b7b9cf95fb0a3aceb3c945025e5d20dec90 - - "./repos/ci/ruby_no_rails_test" - 3916137106d59b008b67d738abe6a1438f8fbde6 - - "./repos/heroku/ruby-getting-started" diff --git a/spec/hatchet/ci_spec.rb b/spec/hatchet/ci_spec.rb index d2330e8fd..ae9ea205b 100644 --- a/spec/hatchet/ci_spec.rb +++ b/spec/hatchet/ci_spec.rb @@ -11,10 +11,7 @@ end it "Works with Rails 5 ruby schema apps" do - Hatchet::Runner.new("rails5_ruby_schema_format", stack: "heroku-20").tap do |app| - app.before_deploy do - Pathname("Gemfile").write("ruby '2.7.5'", mode: "a") - end + Hatchet::Runner.new("rails_8_ruby_schema", stack: "heroku-24").tap do |app| app.run_ci do |test_run| expect(test_run.output).to match("db:schema:load_if_ruby completed") end @@ -22,10 +19,7 @@ end it "Works with Rails 5 SQL schema apps" do - Hatchet::Runner.new("rails5_sql_schema_format", stack: "heroku-20").tap do |app| - app.before_deploy do - Pathname("Gemfile").write("ruby '2.7.5'", mode: "a") - end + Hatchet::Runner.new("rails_8_sql_schema", stack: "heroku-24").tap do |app| app.run_ci do |test_run| expect(test_run.output).to match("db:structure:load_if_sql completed") end