diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index fa1c4173..bb77d3d4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -16,6 +16,12 @@ jobs: ruby: ["3.0", "3.1", "3.2"] rails: ["6.1", "7.0", "7.1"] include: + - ruby: "3.1" + rails: "7.2" + - ruby: "3.2" + rails: "7.2" + - ruby: "3.3" + rails: "7.2" - ruby: "3.3" rails: "main" diff --git a/lib/ember_cli/route_helpers.rb b/lib/ember_cli/route_helpers.rb index 6fa54d09..3ef5bbd6 100644 --- a/lib/ember_cli/route_helpers.rb +++ b/lib/ember_cli/route_helpers.rb @@ -23,8 +23,8 @@ def mount_ember_app(app_name, to:, **options) }), } - get(to, redirect_if_missing_trailing_slash) - get(File.join(to, "(*rest)"), routing_options) + get(to, **redirect_if_missing_trailing_slash) + get(File.join(to, "(*rest)"), **routing_options) end mount_ember_assets(app_name, to: to) @@ -34,7 +34,7 @@ def mount_ember_assets(app_name, to: "/") app = ::EmberCli[app_name] if app.mountable? - mount app.to_rack => to + mount app.to_rack, at: to end end end diff --git a/spec/dummy/application.rb b/spec/dummy/application.rb index 0b1880ec..fd14a1e3 100644 --- a/spec/dummy/application.rb +++ b/spec/dummy/application.rb @@ -33,6 +33,8 @@ class Application < Rails::Application config.secret_token = "SECRET_TOKEN_IS_MIN_30_CHARS_LONG" config.secret_key_base = "SECRET_KEY_BASE" + config.active_support.to_time_preserves_timezone = :zone + def require_environment! initialize! end