Skip to content

Commit

Permalink
Merge pull request #13983 from hsbt/remove-warning
Browse files Browse the repository at this point in the history
use File.exist? instead of File.exists?
  • Loading branch information
chancancode committed Feb 9, 2014
2 parents 76af5c1 + a09c078 commit 6ac2655
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion actionpack/test/dispatch/static_test.rb
Expand Up @@ -144,7 +144,7 @@ def with_static_file(file)

yield file
ensure
File.delete(path) if File.exists? path
File.delete(path) if File.exist? path
end
end

Expand Down

0 comments on commit 6ac2655

Please sign in to comment.