Class: DatabaseCleaner::NullStrategy

Inherits:
Object
  • Object
show all
Defined in:
lib/database_cleaner/null_strategy.rb

Instance Method Summary collapse

Instance Method Details

#cleanObject



11
12
13
# File 'lib/database_cleaner/null_strategy.rb', line 11

def clean
  # no-op
end

#cleaning(&block) ⇒ Object



15
16
17
18
# File 'lib/database_cleaner/null_strategy.rb', line 15

def cleaning(&block)
  # no-op
  yield
end

#db=(db) ⇒ Object



7
8
9
# File 'lib/database_cleaner/null_strategy.rb', line 7

def db=(db)
  # no-op
end

#startObject



3
4
5
# File 'lib/database_cleaner/null_strategy.rb', line 3

def start
  # no-op
end