Avoid Float#object_id in a spec for Ruby2.0 and later

In many case, Float#object_id returns same number from Ruby2.0.

    # On 64bit CPU

    1.0.object_id == 1.0.object_id
    #=> <  2.0: false
    #=> >= 2.0: true