Skip to content

Commit c42fd29

Browse files
committed
Change File.exist? to file.exists?
1 parent f84d02c commit c42fd29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rspec-activemodel-mocks.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Gem::Specification.new do |s|
2222
s.require_path = "lib"
2323

2424
private_key = File.expand_path('~/.gem/rspec-gem-private_key.pem')
25-
if File.exist?(private_key)
25+
if File.exists?(private_key)
2626
s.signing_key = private_key
2727
s.cert_chain = [File.expand_path('~/.gem/rspec-gem-public_cert.pem')]
2828
end

0 commit comments

Comments
 (0)