# File lib/rspec/mocks/stub_const.rb, line 281 def self.rspec_reset @registered_with_mocks_space = false # We use reverse order so that if the same constant # was stubbed multiple times, the original value gets # properly restored. stubbers.reverse.each { |s| s.rspec_reset } stubbers.clear end