Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jokius committed Oct 19, 2023
1 parent 2523bd2 commit b25824f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/que/locker_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ def assert_que_locker_insertion(

it "should create and delete pid file, if exist" do
pidfile = "./spec/temp/pidfile_#{Time.new.to_i}.pid"
File.create(pidfile)
File.open(pidfile, "w+") { |f| f.write "test" }

locker_settings[:pidfile] = pidfile
locker
Expand Down

0 comments on commit b25824f

Please sign in to comment.