lib/jiminy/recording/rspec.rb in jiminy-0.1.0.pre1 vs lib/jiminy/recording/rspec.rb in jiminy-0.1.0
- old
+ new
@@ -18,5 +18,11 @@
end
Jiminy.extend(self)
end
end
end
+RSpec.configure do |config|
+ config.before(:suite) { Jiminy.reset_results_file! }
+ config.around do |example|
+ Jiminy.wrap_rspec_example(example)
+ end
+end