Class: Bogus::ResetsStubbedMethods
- Inherits:
-
Object
- Object
- Bogus::ResetsStubbedMethods
- Extended by:
- Takes
- Defined in:
- lib/bogus/stubbing/resets_stubbed_methods.rb
Instance Method Summary collapse
Methods included from Takes
Instance Method Details
#reset_all_doubles ⇒ Object
7 8 9 10 |
# File 'lib/bogus/stubbing/resets_stubbed_methods.rb', line 7 def reset_all_doubles doubles = double_tracker.doubles doubles.each { |double| overwrites_methods.reset(double) } end |