Sha256: aaeeb97b3b71e2648d77eac51339a58c1ccb5658fd9b542920f14250ff644f91
Contents?: true
Size: 391 Bytes
Versions: 4
Compression:
Stored size: 391 Bytes
Contents
# -*- coding: utf-8 -*- require "sixarm_ruby_to_id_test" class Mock def object_id "123" end end describe Object do describe "#to_i_id" do it "returns #object_id.to_i" do x = Mock.new x.to_i_id.must_equal 123 end end describe "#to_i_ids" do it "returns #object_id.to_i list" do x = Mock.new x.to_i_ids.must_equal [123] end end end
Version data entries
4 entries across 4 versions & 1 rubygems