test/functional/base.rb
# For functional tests that want to provide their own setup or teardown
# and still have an opportunity to call this base's setup/teardown
#
For functional tests that want to provide their own setup or teardown
and still have an opportunity to call this base's setup/teardown
For functional tests that want to provide their own setup or teardown and still have an opportunity to call this base ' s setup / teardown
def teardown
    return if @dashboard.nil?
    @dashboard.shutdown
    @dashboard.context.storage.purge!
    @dashboard.context.storage.close if @dashboard.context.storage.respond_to?(:close)
  end
def teardown return if @dashboard . nil? @dashboard . shutdown @dashboard . context . storage . purge! @dashboard . context . storage . close if @dashboard . context . storage . respond_to? ( :close ) end
For functional tests that want to provide their own setup or teardown
and still have an opportunity to call this base's setup/teardown
For functional tests that want to provide their own setup or teardown and still have an opportunity to call this base ' s setup / teardown