Skip to content

Commit

Permalink
Remove Independent test not required
Browse files Browse the repository at this point in the history
  • Loading branch information
maniSHarma7575 committed Apr 27, 2024
1 parent 766899f commit 07a97b3
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
Expand Up @@ -36,16 +36,6 @@ def test_bad_connection
end
end

def test_write_independent_test_to_check_fileutils
Dir.mktmpdir do |dir|
File.chmod(0x000, dir)
db_path = File.join(dir, "check-fileutils/db/-cinco-dog.sqlite3")
assert_raise SystemCallError do
FileUtils.mkdir_p(db_path)
end
end
end

def test_database_should_get_created_when_missing_parent_directories_for_database_path
dir = Dir.mktmpdir
db_path = File.join(dir, "_not_exist/-cinco-dog.sqlite3")
Expand Down

0 comments on commit 07a97b3

Please sign in to comment.