aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/engine
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test/engine')
-rw-r--r--railties/test/engine/commands_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/engine/commands_test.rb b/railties/test/engine/commands_test.rb
index ff6cdf2e97..48c93af80c 100644
--- a/railties/test/engine/commands_test.rb
+++ b/railties/test/engine/commands_test.rb
@@ -37,7 +37,7 @@ class Rails::Engine::CommandsTest < ActiveSupport::TestCase
spawn_command("console", replica)
assert_output(">", primary)
ensure
- master.puts "quit"
+ primary.puts "quit"
end
def test_dbconsole_command_work_inside_engine
@@ -47,7 +47,7 @@ class Rails::Engine::CommandsTest < ActiveSupport::TestCase
spawn_command("dbconsole", replica)
assert_output("sqlite>", primary)
ensure
- master.puts ".exit"
+ primary.puts ".exit"
end
def test_server_command_work_inside_engine