spec/spec_helper.rb in reverse_markdown-0.4.7 vs spec/spec_helper.rb in reverse_markdown-0.5.0
- old
+ new
@@ -1,6 +1,10 @@
+require 'codeclimate-test-reporter'
+CodeClimate::TestReporter.start
+
require 'simplecov'
+require 'byebug'
SimpleCov.adapters.define 'gem' do
add_filter '/spec/'
add_filter '/autotest/'
add_group 'Libraries', '/lib/'
@@ -9,6 +13,10 @@
require 'reverse_markdown'
RSpec.configure do |config|
config.color_enabled = true
-end
\ No newline at end of file
+
+ config.after(:each) do
+ ReverseMarkdown.config.reset
+ end
+end