Skip to content

Commit

Permalink
Fix require in test helper
Browse files Browse the repository at this point in the history
  • Loading branch information
svanhesteren committed Jun 10, 2024
1 parent 293402f commit ae6cadd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gouda.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
spec.email = ["[email protected]", "[email protected]"]
spec.homepage = "https://rubygems.org/gems/gouda"
spec.license = "MIT"
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
spec.required_ruby_version = Gem::Requirement.new(">= 2.7.0")
spec.require_paths = ["lib"]

spec.metadata["homepage_uri"] = spec.homepage
Expand Down
2 changes: 1 addition & 1 deletion test/gouda/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
require "minitest/autorun"
require "minitest"
require "support/assert_helper"
require "gouda"
require_relative "../../lib/gouda"

class ActiveSupport::TestCase
SEED_DB_NAME = -> { "gouda_tests_%s" % Random.new(Minitest.seed).hex(4) }
Expand Down
1 change: 0 additions & 1 deletion test/gouda/worker_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ class GoudaWorkerTest < ActiveSupport::TestCase
# 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(ENV["TEMPDR"] || "tmp", "#{Process.pid}-gouda-worker-test-output.bin")) }

class JobWithEnqueueKey < ActiveJob::Base
self.queue_adapter = :gouda
Expand Down

0 comments on commit ae6cadd

Please sign in to comment.