Skip to content

Commit

Permalink
Fix app generator tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorianer committed Jan 15, 2025
1 parent c2aeeb6 commit a5f6bc1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions railties/test/generators/app_generator_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,7 @@ def test_devcontainer
"context" => "..",
"dockerfile" => ".devcontainer/Dockerfile"
},
"volumes" => ["../..:/workspaces:cached"],
"volumes" => ["../..:/workspaces:cached", "rbenv-data:/home/vscode/.rbenv"],
"command" => "sleep infinity",
"depends_on" => ["selenium"]
}
Expand Down Expand Up @@ -1388,7 +1388,7 @@ def test_devcontainer_no_redis_skipping_solid_action_cable_and_active_job
assert_compose_file do |compose_config|
assert_not_includes compose_config["services"]["rails-app"]["depends_on"], "redis"
assert_nil compose_config["services"]["redis"]
assert_nil compose_config["volumes"]
assert_includes compose_config["volumes"].keys, "rbenv-data"
end

assert_devcontainer_json_file do |content|
Expand Down

0 comments on commit a5f6bc1

Please sign in to comment.