Class: DatabaseCleaner::Safeguard::RemoteDatabaseUrl
- Inherits:
-
Object
- Object
- DatabaseCleaner::Safeguard::RemoteDatabaseUrl
- Defined in:
- lib/database_cleaner/safeguard.rb
Constant Summary collapse
- LOCAL =
%w(localhost 127.0.0.1)
Instance Method Summary collapse
Instance Method Details
#run ⇒ Object
44 45 46 |
# File 'lib/database_cleaner/safeguard.rb', line 44 def run raise Error::RemoteDatabaseUrl if !skip? && given? end |