assert_difference "Host.count", 1 do
      ...
    end

will do the same (1's the default too, you can leave it off)