Class: DatabaseCleaner::Safeguard::AllowedUrl
- Inherits:
-
Object
- Object
- DatabaseCleaner::Safeguard::AllowedUrl
- Defined in:
- lib/database_cleaner/safeguard.rb
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
24 25 26 27 |
# File 'lib/database_cleaner/safeguard.rb', line 24 def run return if skip? raise Error::UrlNotAllowed if database_url_not_allowed? end |