Module: Jiminy::Recording

Defined in:
lib/jiminy/recording.rb,
lib/jiminy/recording/rspec.rb,
lib/jiminy/recording/n_plus_one.rb,
lib/jiminy/recording/test_controller_concern.rb,
lib/jiminy/recording/prosopite_ext/tmp_file_recorder.rb,
lib/jiminy/recording/prosopite_ext/send_notifications_with_tmp_file.rb

Defined Under Namespace

Modules: ProsopiteExt, RSpec, TestControllerConcern Classes: NPlusOne

Class Method Summary collapse

Class Method Details

.reset_results_file!Object



9
10
11
12
# File 'lib/jiminy/recording.rb', line 9

def reset_results_file!
  Rails.root.join(File.dirname(Jiminy.config.temp_file_location)).mkpath
  File.write(Jiminy.config.temp_file_location, [].to_yaml)
end