Model Specs / Edits
Edited line 28 :
Merb-Fixtures
As we said, Merb itself doesn’t provide any fixture framework, but there is a plugin called Merb-fixtures which provides flexible and easy to use fixtures system for merb >= 0.9.4.
As we said, Merb itself doesn’t provide any fixture framework, but there is a plugin called Merb-fixtures which provides flexible and easy to use fixtures system.
Edited line 25 :
Fixtures
As we said, Merb itself doesn’t provide any fixture framework, but there is a plugin called Merb-fixtures which provides flexible and easy to use fixtures system.
Fixtures As we said, Merb itself doesn’t provide any fixture framework, but there is a plugin called Merb-fixtures which provides flexible and easy to use fixtures system.
Edited line 1 :
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 itself provides no additional helpers, matchers, or fixture framework for your 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.
Edited line 22 :
Fixtures As we said, Merb itself doesn’t provide any fixture framework, but there is a plugin called Merb-fixtures which provides flexible and easy to use fixtures system.
Merb-fixtures are quite different from fixtures in Rails: you write it in Ruby DSL, not in YAML as in Rails, so it’s more powerful. Merb-fixtures are useful not just for testing – it has great API and you can use it from Merb console. Other great place when you can use Merb-fixtures are migrations.
For more informations see its README
Edited line 7 :
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.
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. ORM’s with a merb plugin will handle this for you.
Edited line 7 :
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. ORM’s with a merb plugin will handle this for you.
The only assumption Merb makes about your models is a to_param method. Other than that, you are not bound to include a module or inherit from a parent class. ORM’s with a merb plugin will handle this for you.
Edited line 22 :
Helpers & Matchers
None!
Edited line 7 :
The only assumption Merb makes about your models is a to_param method. Other than that, you are not bound to include a module or inherit from a parent class. ORM’s with a merb plugin will handle this for you.
The only assumption Merb makes about your models is a to_param method. Other than that, you are not bound to implement a module or inherit from a parent class.
Edited line 4 :
Keep In Mind
The only assumption Merb makes about your models is a to_param method. Other than that, you are not bound to implement a module or inherit from a parent class.