mirror of
https://github.com/DatabaseCleaner/database_cleaner
synced 2023-03-27 23:22:03 -04:00
Corrected spacing.
This commit is contained in:
parent
264eb9e2a9
commit
728f871765
1 changed files with 23 additions and 21 deletions
|
@ -1,27 +1,29 @@
|
|||
module ::DatabaseCleaner
|
||||
module Generic
|
||||
module Base
|
||||
module Generic
|
||||
module Base
|
||||
|
||||
def self.included(base)
|
||||
base.extend(ClassMethods)
|
||||
end
|
||||
def self.included(base)
|
||||
base.extend(ClassMethods)
|
||||
end
|
||||
|
||||
def db
|
||||
:default
|
||||
end
|
||||
def db
|
||||
:default
|
||||
end
|
||||
|
||||
def cleaning(&block)
|
||||
start
|
||||
yield
|
||||
ensure
|
||||
clean
|
||||
end
|
||||
def cleaning(&block)
|
||||
begin
|
||||
start
|
||||
yield
|
||||
ensure
|
||||
clean
|
||||
end
|
||||
end
|
||||
|
||||
module ClassMethods
|
||||
def available_strategies
|
||||
%W[]
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
module ClassMethods
|
||||
def available_strategies
|
||||
%W[]
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue