diff --git a/Rakefile b/Rakefile index 7806316..ab03a96 100644 --- a/Rakefile +++ b/Rakefile @@ -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 diff --git a/spec/zuora/api_spec.rb b/spec/zuora/api_spec.rb index 4b8bbf6..5247b94 100644 --- a/spec/zuora/api_spec.rb +++ b/spec/zuora/api_spec.rb @@ -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