Sha256: b98d47a2d947ebbb3396705226caf0ccbc1f2fafa541d66dbf5d26d7975501d0

Contents?: true

Size: 319 Bytes

Versions: 21

Compression:

Stored size: 319 Bytes

Contents

require 'spec_helper'
module Finitio
  describe AnyType, "dress" do

    let(:type){ AnyType.new }

    subject{ type.dress(arg) }

    context 'with nil' do
      let(:arg){ nil }

      it{ should be(arg) }
    end

    context 'with a Float' do
      let(:arg){ 12.0 }

      it{ should be(arg) }
    end

  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
finitio-0.12.0 spec/type/any_type/test_dress.rb
finitio-0.11.4 spec/type/any_type/test_dress.rb
finitio-0.11.3 spec/type/any_type/test_dress.rb
finitio-0.11.2 spec/type/any_type/test_dress.rb
finitio-0.11.1 spec/type/any_type/test_dress.rb
finitio-0.10.0 spec/type/any_type/test_dress.rb
finitio-0.9.1 spec/type/any_type/test_dress.rb
finitio-0.9.0 spec/type/any_type/test_dress.rb
finitio-0.8.0 spec/type/any_type/test_dress.rb
finitio-0.7.0 spec/type/any_type/test_dress.rb
finitio-0.7.0.pre.rc4 spec/type/any_type/test_dress.rb
finitio-0.7.0.pre.rc3 spec/type/any_type/test_dress.rb
finitio-0.7.0.pre.rc2 spec/type/any_type/test_dress.rb
finitio-0.7.0.pre.rc1 spec/type/any_type/test_dress.rb
finitio-0.6.1 spec/type/any_type/test_dress.rb
finitio-0.6.0 spec/type/any_type/test_dress.rb
finitio-0.5.2 spec/type/any_type/test_dress.rb
finitio-0.5.1 spec/type/any_type/test_dress.rb
finitio-0.5.0 spec/type/any_type/test_dress.rb
finitio-0.4.1 spec/unit/type/any_type/test_dress.rb