Sha256: aca97205ce023a54ed1bf3f20425fe31234197aa89f085efa72d58438e846b35

Contents?: true

Size: 1014 Bytes

Versions: 4

Compression:

Stored size: 1014 Bytes

Contents

# -*- coding: utf-8 -*-
require 'minitest/autorun'
require 'sixarm_ruby_to_id'

describe NilClass do

  describe "#to_date_id" do
    it "always returns nil" do
      nil.to_date_id.must_be_same_as nil
    end
  end

  describe "#to_date_ids" do
    it "always returns nil" do
      nil.to_date_ids.must_be_same_as nil
    end
  end

  describe "#to_stint_id" do
    it "always returns nil" do
      nil.to_stint_id.must_be_same_as nil
    end
  end

  describe "#to_stint_ids" do
    it "always returns nil" do
      nil.to_stint_ids.must_be_same_as nil
    end
  end

  describe "#to_i_id" do
    it "always returns nil" do
      nil.to_i_id.must_be_same_as nil
    end
  end

  describe "#to_i_ids" do
    it "always returns nil" do
      nil.to_i_ids.must_be_same_as nil
    end
  end

  describe "#to_s_id" do
    it "always returns nil" do
      nil.to_s_id.must_be_same_as nil
    end
  end

  describe "#to_s_ids" do
    it "always returns nil" do
      nil.to_s_ids.must_be_same_as nil
    end
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sixarm_ruby_to_id-1.0.8 test/sixarm_ruby_to_id_test/nil_test.rb
sixarm_ruby_to_id-1.0.7 test/sixarm_ruby_to_id_test/nil_test.rb
sixarm_ruby_to_id-1.0.6 test/sixarm_ruby_to_id_test/nil_test.rb
sixarm_ruby_to_id-1.0.4 test/sixarm_ruby_to_id_test/nil_test.rb