Skip to content

Commit

Permalink
Resolve undefined method `exists?' for File:Class
Browse files Browse the repository at this point in the history
  • Loading branch information
tapan-sh committed Jun 18, 2024
1 parent 067d069 commit 34721e2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ namespace :doc do

desc "Remove generated documenation"
task :clean do
rm_r doc_destination if File.exists?(doc_destination)
rm_r doc_destination if File.exist?(doc_destination)
end

end
Expand Down
2 changes: 1 addition & 1 deletion spec/zuora/api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
end

it "has readable WSDL" do
File.exists?(Zuora::Api::WSDL).should be
File.exist?(Zuora::Api::WSDL).should be
end

it "can be configured to use sandbox" do
Expand Down

0 comments on commit 34721e2

Please sign in to comment.