diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index <HASH>..<HASH> 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -17,7 +17,7 @@ Travis.logger = Logger.new(StringIO.new)
 
 RSpec.configure do |config|
   config.after :each do
-    Travis.config.notifications.clear
+    Travis.instance_variable_set(:@config, nil)
     Travis::Notifications.instance_variable_set(:@queues, nil)
     Travis::Notifications.instance_variable_set(:@subscriptions, nil)
     Travis::Notifications::Handler::Pusher.send(:protected, :queue_for, :payload_for)
try fixing failing specs on jruby by reseting Travis.config