What is the current trend for testing models in a Rails3+DataMapper application. I want to use RSpec but sorely miss the concise testing provided by shoulda macros. Question - Is there a way of getting the best of both worlds, ie. a nice dsl for testing and the brevity of shoulda macros, which can be used to test datamapper models.
Asked
Active
Viewed 392 times
1 Answers
1
Check out remarkable. That will do exactly what you want :)
UPDATE [9/8/2012] : Unfortunately while it is still possible to use remarkable in rails 3, it is still the same old 4.0.0.0pre version. So on now rails projects I generally use shoulda-matchers instead. Not as extended, but covers most stuff, and it is maintained :)

nathanvda
- 49,707
- 13
- 117
- 139