ruby - MongoMapper in a custom gem with rspec -
hopefully i'm missing simple. using mongomapper in rails 3 app , works beautifully. needed share app , pushed out gem, works great both rails apps. however, when try add rspec tests gem getting following error:
/users/dane/.rvm/gems/ruby-1.9.2-p180/gems/rspec-core-2.5.2/lib/rspec/core/backward_compatibility.rb:20:in `const_missing': uninitialized constant user::mongomapper (nameerror)
i adding simple test user model.
thanks!
Comments
Post a Comment