spec/spec_helper.rb in brief-1.8.11 vs spec/spec_helper.rb in brief-1.8.12
- old
+ new
@@ -35,8 +35,12 @@
RSpec.configure do |config|
config.mock_with :rspec
config.include Rack::Test::Methods
config.include TestHelpers
+
+ config.after(:suite) do
+ `git checkout spec/fixtures/example/docs` rescue nil
+ end
end
ENV['BRIEF_APPS_PATH'] = Brief.spec_root.join("fixtures","apps").to_s