Sha256: 8759b59422aafa1249e22961645920eda8b1a0dc36150b9df2bfd3092df66023

Contents?: true

Size: 315 Bytes

Versions: 1

Compression:

Stored size: 315 Bytes

Contents

require 'spec_helper'
module Qrb
  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

1 entries across 1 versions & 1 rubygems

Version Path
qrb-0.3.0 spec/unit/type/any_type/test_dress.rb