test/redis_test.rb in ohm-0.0.32 vs test/redis_test.rb in ohm-0.0.33
- old
+ new
@@ -396,10 +396,10 @@
@r.zincrby "league", 10, "foo"
assert_equal "11", @r.zscore("league", "foo")
@r.set "bar", "2"
- assert_raises do
+ assert_raises(RuntimeError) do
@r.zincrby "bar", 2, "baz"
end
end
should "provide info" do