lib/capybara/experience/pool.rb in capybara-experience-0.3.2 vs lib/capybara/experience/pool.rb in capybara-experience-0.3.3
- old
+ new
@@ -34,10 +34,10 @@
def taken
values - idle
end
def reset_idle!
- dup.each do |key, session|
+ to_h.each do |key, session|
self[session_key(session)] = delete(key)
end
@idle = values
nil