Fix demo data reset (#1041)
* Fix demo data reset * Only delete test user
This commit was merged in pull request #1041.
This commit is contained in:
@@ -52,6 +52,7 @@ class Demo::Generator
|
||||
end
|
||||
|
||||
def clear_data!
|
||||
User.find_by_email("user@maybe.local")&.destroy
|
||||
ExchangeRate.destroy_all
|
||||
Security.destroy_all
|
||||
Security::Price.destroy_all
|
||||
|
||||
Reference in New Issue
Block a user