Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: fd57adc23d
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (14 sloc) 0.406 kb
require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
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
Jump to Line
Something went wrong with that request. Please try again.