Sha256: 17e46753ae27ad96cb241e66085c9d11f9c709820eba27d0ddd7b054c015fee9
Contents?: true
Size: 336 Bytes
Versions: 1
Compression:
Stored size: 336 Bytes
Contents
# -*- coding: utf-8 -*- require "sixarm_ruby_to_id_test" require "sixarm_ruby_to_id/numeric" describe Numeric do describe "#to_i_id" do it "casts me to an int id" do 1.to_i_id.must_equal 1 end end describe "#to_i_ids" do it "casts me to a list of int id" do 1.to_i_ids.must_equal [1] end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
sixarm_ruby_to_id-1.1.0 | test/sixarm_ruby_to_id_test/numeric_test.rb |