Skip to content

Commit

Permalink
Replace deprecated by
Browse files Browse the repository at this point in the history
  • Loading branch information
boutil committed Oct 27, 2023
1 parent 58dda53 commit d2005ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/monitor_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def run_monitor(num_events_to_expect=0, options={})
it "should call create callback upon file creation" do
run_monitor(1) do
file = @tmp_dir + "/newfile.rb"
File.exists?(file).should be_falsey
File.exist?(file).should be_falsey
FileUtils.touch file
end
@handler_results[:create].should == [[@tmp_dir, 'newfile.rb']]
Expand Down

0 comments on commit d2005ed

Please sign in to comment.