Model Specs

Merb is ORM agnostic, and there is no common way to write specs due to the differences in the ORM you choose. In fact, Merb provides no additional helpers, matchers, or fixture framework for your specs.

Keep In Mind

The only assumption Merb makes about your models is a to_param method. Other than that, you are not required to include a module or inherit from a parent class. ORMs with a merb plugin will handle this for you.

ORM Examples

DataMapper 0.9.0

DataMapper 0.3.0

Sequel

Active Record

Helpers & Matchers

None!

Edit Page | History | Version: