Skip to content

Commit 866f979

Browse files
authored
Test: Remove SECRET_KEY_BASE_DUMMY (#9)
1 parent 95c0a63 commit 866f979

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

test/features/console_helpers.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ def spawn_console(options, wait_for_prompt: true, env: {})
1919
"TERM" => "dumb",
2020
"HOME" => home_tmp_dir,
2121
"APP_ENV" => nil,
22-
"RAILS_ENV" => nil,
23-
"SECRET_KEY_BASE_DUMMY" => "1"
22+
"RAILS_ENV" => nil
2423
)
2524

2625
pid = Process.spawn(

test/features/runner_helpers.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module RunnerHelpers
22
private
33

44
def assert_runner_puts(expected, subject, env: {})
5-
env = env.with_defaults({"APP_ENV" => nil, "RAILS_ENV" => nil, "SECRET_KEY_BASE_DUMMY" => "1"})
5+
env = env.with_defaults({"APP_ENV" => nil, "RAILS_ENV" => nil})
66

77
stdout, status = Open3.capture2(env, "#{DUMMY_ROOT}/bin/rails", "runner", "puts #{subject}")
88

0 commit comments

Comments
 (0)