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