Add method to connect terminal to tmux session during tests

Useful with `binding.pry` to inspect behavior of tests.
This commit is contained in:
Eric Freese 2018-05-15 11:36:20 -06:00
parent 19ad3ba7cd
commit 51fef255da

View File

@ -77,6 +77,10 @@ class TerminalSession
map(&:to_i) map(&:to_i)
end end
def attach!
tmux_command('attach-session')
end
private private
attr_reader :opts attr_reader :opts