spec/spec_helper.rb in sucker_punch-0.5.1 vs spec/spec_helper.rb in sucker_punch-1.0.0.beta
- old
+ new
@@ -2,5 +2,12 @@
require 'pry'
rescue LoadError
end
require 'sucker_punch'
+
+RSpec.configure do |config|
+ config.after(:each) do
+ # Clean up the master queue list
+ SuckerPunch::Queues.instance_variable_set(:@queues, Set.new)
+ end
+end