Sha256: 76612f190f339a4cc98bb0901e88f16b3e4246b3feb726323f125eeefcf35cf3
Contents?: true
Size: 402 Bytes
Versions: 19
Compression:
Stored size: 402 Bytes
Contents
require 'spec_helper' module Finitio describe TypeFactory, "Factory#struct" do let(:factory){ TypeFactory.new } context 'when used with [Integer, Float]' do subject{ factory.type([Integer, Float]) } it{ should be_a(StructType) } it 'should have the expected components' do expect(subject.component_types).to eq([intType, floatType]) end end end end
Version data entries
19 entries across 19 versions & 1 rubygems