spec/spec_helper.rb in geonames_api-0.1.1 vs spec/spec_helper.rb in geonames_api-0.1.2
- old
+ new
@@ -10,6 +10,8 @@
puts "Enter your GeoNames WebServices username for running functional specs (press enter to just use default)"
name = $stdin.gets.chomp
GeoNamesAPI.username = name if name.present?
end
GeoNamesAPI.logger = Logger.new("test.log")
+ GeoNamesAPI.retries = 10
+ GeoNamesAPI.max_sleep_time_between_retries = 60
end