Skip to content

Commit

Permalink
Add tmp dir back in
Browse files Browse the repository at this point in the history
  • Loading branch information
svanhesteren committed Jun 10, 2024
1 parent a38aee1 commit 5eb89bb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,4 @@ jobs:
PGHOST: localhost
PGUSER: postgres
PGPASSWORD: postgres
TESTOPTS: "--fail-fast"
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@
/doc/
/pkg/
/spec/reports/
/tmp/
/tmp/*
!/tmp/.keep
Gemfile.lock
2 changes: 1 addition & 1 deletion test/gouda/worker_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class GoudaWorkerTest < ActiveSupport::TestCase
# We need to include the PID in the path, because we might be running
# multiple test processes on the same box - and they might start touching
# files from each other.
PATH_TO_TEST_FILE = -> { Tempfile.new("#{Process.pid}-gouda-worker-test-output.bin") }
PATH_TO_TEST_FILE = -> { File.expand_path(File.join("tmp", "#{Process.pid}-gouda-worker-test-output.bin")) }

class JobWithEnqueueKey < ActiveJob::Base
self.queue_adapter = :gouda
Expand Down
Empty file added tmp/.keep
Empty file.

0 comments on commit 5eb89bb

Please sign in to comment.