spec/integration_spec_helper.rb in rmega-0.3.1 vs spec/integration_spec_helper.rb in rmega-0.3.2

- old
+ new

@@ -9,10 +9,10 @@ end def account if ENV["MEGA_EMAIL"] and ENV["MEGA_PASSWORD"] {'email' => ENV["MEGA_EMAIL"], 'password' => ENV["MEGA_PASSWORD"]} - elsif File.exists?(account_file_path) + elsif File.exist?(account_file_path) YAML.load_file(account_file_path) else nil end end