Skip to content

Commit

Permalink
File.exists renamed to File.exist
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrock committed Sep 24, 2024
1 parent fd9be6f commit ccaeea1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/support/camcorder_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def self.deintercept_all

class Recorder
def start
if File.exists?(filename)
if File.exist?(filename)
contents = File.read(filename)
@recordings = YAML.respond_to?(:safe_load) ? YAML.safe_load(contents, :permitted_classes => [Camcorder::Recording, Symbol]) : YAML.load(contents)
@replaying = true
Expand Down

0 comments on commit ccaeea1

Please sign in to comment.