lib/fakes-rspec.rb in fakes-rspec-0.3.2 vs lib/fakes-rspec.rb in fakes-rspec-0.3.8
- old
+ new
@@ -7,5 +7,10 @@
require 'core/nullo_specification'
require 'core/occurances'
require 'core/received_occurances_criteria'
require 'core/received_criteria'
+RSpec.configure do |config|
+ config.after(:each) do
+ reset_fake_classes
+ end
+end