Sha256: 9922aaa4c1b6e1ee27f1bcf538c53d855bfa05fb29a098024b1e0085b3078a83
Contents?: true
Size: 269 Bytes
Versions: 2
Compression:
Stored size: 269 Bytes
Contents
require 'spec_helper' module Finitio describe Attribute, "initialize" do subject{ Attribute.new(:red, intType) } it 'should correctly set the instance variables' do subject.name.should eq(:red) subject.type.should eq(intType) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
finitio-0.4.1 | spec/unit/attribute/test_initialize.rb |
finitio-0.4.0 | spec/unit/attribute/test_initialize.rb |