Module: RiotOnRails

Defined in:
lib/riot_on_rails/version.rb,
lib/riot_on_rails/configuration.rb,
lib/riot_on_rails/setup_controller_tests.rb,
lib/riot_on_rails/database_cleaner_middleware.rb

Defined Under Namespace

Classes: DatabaseCleanerMiddleware

Constant Summary collapse

VERSION =
"0.0.2"

Class Method Summary collapse

Class Method Details

.database_cleaner=(value) ⇒ Object



3
4
5
# File 'lib/riot_on_rails/configuration.rb', line 3

def database_cleaner=(value)
  @using_database_cleaner = value
end

.using_database_cleaner?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/riot_on_rails/configuration.rb', line 7

def using_database_cleaner?
  @using_database_cleaner
end