test/connection_test.rb in ohm-0.0.20 vs test/connection_test.rb in ohm-0.0.21
- old
+ new
@@ -5,10 +5,10 @@
@options = Ohm.options
end
test "connects lazily" do
assert_nothing_raised do
- Ohm.connect(:port => 1234567)
+ Ohm.connect(:port => 9876)
end
assert_raises(Errno::ECONNREFUSED) do
Ohm.redis.get "foo"
end