Not interactive

This commit is contained in:
David Heinemeier Hansson
2023-01-15 13:52:37 +01:00
parent 8e58a9385a
commit 9833a41382
2 changed files with 1 additions and 2 deletions

View File

@@ -42,7 +42,6 @@ class Mrsk::Commands::App < Mrsk::Commands::Base
def run_exec(*command) def run_exec(*command)
docker :run, docker :run,
"-it",
"--rm", "--rm",
*rails_master_key_arg, *rails_master_key_arg,
*config.env_args, *config.env_args,

View File

@@ -18,7 +18,7 @@ class AppCommandTest < ActiveSupport::TestCase
test "run with" do test "run with" do
assert_equal \ assert_equal \
[ :docker, :run, "-it", "--rm", "-e", "RAILS_MASTER_KEY=456", "dhh/app:123", "bin/rails", "db:setup" ], [ :docker, :run, "--rm", "-e", "RAILS_MASTER_KEY=456", "dhh/app:123", "bin/rails", "db:setup" ],
@app.run_exec("bin/rails", "db:setup") @app.run_exec("bin/rails", "db:setup")
end end
end end