Sha256: 1ed4bb50b2304a3b95cbf542105d94cd63ad5873f8f745c20c51e7527e3e4178
Contents?: true
Size: 360 Bytes
Versions: 1
Compression:
Stored size: 360 Bytes
Contents
require '../helper' require '../model/user' require '../model/account' class SetClassNameTest < Test::Unit::TestCase def setup @attributes = {:name=>'aaron',:email=>'aaron@nonobo.com',:password=>'123456'} end def test_create_object User.create(@attributes) assert_nothing_raised do @u = User.find(@attributes[:email]) end @u.destroy end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ant-mapper-0.0.2 | ./spec/case/set_class_name_test.rb |