lib/capybara/sessionkeeper.rb in capybara-sessionkeeper-0.1.2 vs lib/capybara/sessionkeeper.rb in capybara-sessionkeeper-0.1.3
- old
+ new
@@ -29,11 +29,9 @@
def cookie_file_extension
'cookies.txt'
end
- private
-
def find_latest_cookie_file
Dir.glob(File.join(Capybara.save_path, "*.#{cookie_file_extension}")).max_by{|f| File.mtime(f) }
end
def skip_invalid_cookie_domain_error(e)