مراية لـ
https://github.com/postalserver/postal.git
تم المزامنة 2025-12-01 05:43:04 +00:00
only remove the global database if we actually made one
هذا الالتزام موجود في:
@@ -36,8 +36,10 @@ RSpec.configure do |config|
|
|||||||
config.after(:suite) do
|
config.after(:suite) do
|
||||||
# Remove the global server after the suite has finished running and then
|
# Remove the global server after the suite has finished running and then
|
||||||
# clean the database in case it left anything lying around.
|
# clean the database in case it left anything lying around.
|
||||||
GLOBAL_SERVER.destroy
|
if defined?(GLOBAL_SERVER)
|
||||||
DatabaseCleaner.clean
|
GLOBAL_SERVER.destroy
|
||||||
|
DatabaseCleaner.clean
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|||||||
المرجع في مشكلة جديدة
حظر مستخدم