Sha256: eefcfb84df6488528b07cdaf51efc5ec805f132579e85df65790c84980aa9074

Contents?: true

Size: 219 Bytes

Versions: 3

Compression:

Stored size: 219 Bytes

Contents

require 'spec_helper'
module Qrb
  describe BuiltinType, "initialize" do

    let(:type){ BuiltinType.new(Integer) }

    it 'should set instance variables' do
      type.ruby_type.should be(Integer)
    end

  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
qrb-0.3.0 spec/unit/type/builtin_type/test_initialize.rb
qrb-0.2.0 spec/unit/type/builtin_type/test_initialize.rb
qrb-0.1.0 spec/unit/type/builtin_type/test_initialize.rb