Skip to content

Commit

Permalink
added Dir.tmpdir to mock dialog #dialog_chooser so test save in tmp d…
Browse files Browse the repository at this point in the history
…irectory
  • Loading branch information
estensland committed Jul 15, 2017
1 parent ccf9be3 commit 375aa6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shoes-core/lib/shoes/mock/dialog.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ def alert(*_args)
end

def dialog_chooser(*_args)
'test_file_delete_after'
"#{Dir.tmpdir}/test_file_delete_after"
end

def confirm(_msg = '')
Expand Down

0 comments on commit 375aa6f

Please sign in to comment.