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

Popular posts from this blog

haskell - Using filter on an item in a list? -

c# - When does PreApplicationStartMethod actually get triggered to run? -

tomcat6 - Exception when stopping container for a with Spring + Quartz + Tomcat web application -