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.4.0 spec/unit/type/any_type/test_dress.rb