Class: Mocktail::ResetsState

Inherits:
Object
  • Object
show all
Extended by:
T::Sig
Defined in:
lib/mocktail/resets_state.rb,
lib/mocktail/sorbet/mocktail/resets_state.rb

Instance Method Summary collapse

Instance Method Details

#resetObject



5
6
7
8
9
# File 'lib/mocktail/resets_state.rb', line 5

def reset
  TopShelf.instance.reset_current_thread!
  Mocktail.cabinet.reset!
  ValidatesArguments.enable!
end