Merge pull request #6 from y-yagi/use_file_exist
Use `File.exist?` instead of `File.exists?`
This commit is contained in:
commit
50525e30d1
@ -62,6 +62,6 @@ describe 'active record' do
|
|||||||
|
|
||||||
# Clean up DB
|
# Clean up DB
|
||||||
after(:all) do
|
after(:all) do
|
||||||
File.delete(@db_file) if File.exists?(@db_file)
|
File.delete(@db_file) if File.exist?(@db_file)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user