Test workdir change
This commit is contained in:
parent
454784f61a
commit
c8d1e94456
1 changed files with 4 additions and 2 deletions
6
test.rb
6
test.rb
|
@ -62,7 +62,9 @@ REFS = {
|
|||
}.freeze,
|
||||
}.freeze
|
||||
|
||||
@stdin, @stdout, @wait_thr = Open3.popen2 EXE, chdir: __dir__
|
||||
workdir = File.expand_path('test', __dir__).freeze
|
||||
|
||||
@stdin, @stdout, @wait_thr = Open3.popen2 EXE, workdir, chdir: __dir__
|
||||
|
||||
@stdin.sync = true
|
||||
@stdout.sync = true
|
||||
|
@ -94,7 +96,7 @@ end
|
|||
cmd :REGISTER_SCRIPT,
|
||||
{ name: :render,
|
||||
vars: %i[template format notes note],
|
||||
args: ['test/render.rb',
|
||||
args: ['./render.rb',
|
||||
{ template: nil },
|
||||
{ format: nil }],
|
||||
stdin: ['{',
|
||||
|
|
Loading…
Reference in a new issue