Module: Jiminy::Recording::RSpec

Extended by:
RSpec
Includes:
ProsopiteExt::SendNotificationsWithTmpFile
Included in:
RSpec
Defined in:
lib/jiminy/recording/rspec.rb

Instance Method Summary collapse

Methods included from ProsopiteExt::SendNotificationsWithTmpFile

#prepare_results_file!, #send_notifications, #tmp_file, #tmp_file=

Instance Method Details

#wrap_rspec_example(example) ⇒ Object



13
14
15
16
17
18
# File 'lib/jiminy/recording/rspec.rb', line 13

def wrap_rspec_example(example)
  Prosopite.tmp_file = true
  ActionController::Base.include(Jiminy::Recording::TestControllerConcern)
  example.run
  Prosopite.tmp_file = false
end