spec/facade_spec.rb in asynchronic-3.0.0 vs spec/facade_spec.rb in asynchronic-3.0.1
- old
+ new
@@ -67,13 +67,13 @@
it 'Redis data store sync timeout' do
Asynchronic.redis_data_store_sync_timeout.must_equal 0.01
end
it 'Keep alive timeout' do
- Asynchronic.keep_alive_timeout.must_equal 0.1
+ Asynchronic.keep_alive_timeout.must_equal 1
end
it 'Connection name' do
- Asynchronic.connection_name.must_equal "HOST=#{Socket.gethostname},PID=#{::Process.pid}"
+ Asynchronic.connection_name.must_match /^HOST=#{Socket.gethostname},PID=#{::Process.pid}/
end
end
\ No newline at end of file