From 96b575d6dcea6c9c4a716b4929c319695afa59f3 Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Sun, 9 Aug 2009 16:00:53 +0100 Subject: Get rid of parenthesize argument warnings --- actionmailer/test/mail_service_test.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'actionmailer') diff --git a/actionmailer/test/mail_service_test.rb b/actionmailer/test/mail_service_test.rb index 008ca498b1..5584afa8be 100644 --- a/actionmailer/test/mail_service_test.rb +++ b/actionmailer/test/mail_service_test.rb @@ -894,11 +894,11 @@ EOF tmp_location = ActionMailer::Base.file_settings[:location] TestMailer.deliver_cc_bcc(@recipient) - assert File.exists? tmp_location - assert File.directory? tmp_location - assert File.exists? File.join(tmp_location, @recipient) - assert File.exists? File.join(tmp_location, 'nobody@loudthinking.com') - assert File.exists? File.join(tmp_location, 'root@loudthinking.com') + assert File.exists?(tmp_location) + assert File.directory?(tmp_location) + assert File.exists?(File.join(tmp_location, @recipient)) + assert File.exists?(File.join(tmp_location, 'nobody@loudthinking.com')) + assert File.exists?(File.join(tmp_location, 'root@loudthinking.com')) end def test_recursive_multipart_processing -- cgit v1.2.3