Sha256: c5184f35aad8608692a440ef66ddc299816c7737ddbc1c89f0123a3be336bc2b
Contents?: true
Size: 403 Bytes
Versions: 42
Compression:
Stored size: 403 Bytes
Contents
require File.dirname(__FILE__) + '/spec_helper.rb' describe HappyMapper::Attribute do describe "initialization" do before do @attr = HappyMapper::Attribute.new(:foo, String) end it 'should know that it is an attribute' do @attr.attribute?.should be_true end it 'should know that it is NOT an element' do @attr.element?.should be_false end end end
Version data entries
42 entries across 42 versions & 9 rubygems