spec/lib/logstasher/log_subscriber_spec.rb in logstasher-0.4.7 vs spec/lib/logstasher/log_subscriber_spec.rb in logstasher-0.4.8

- old
+ new

@@ -12,10 +12,14 @@ end logger } before do LogStasher.logger = logger + LogStasher.log_controller_parameters = true LogStasher.custom_fields = [] + end + after do + LogStasher.log_controller_parameters = false end let(:subscriber) {LogStasher::RequestLogSubscriber.new} let(:event) { ActiveSupport::Notifications::Event.new(