Categories
Code Curated

Rails Scenarios

Wherein Rails testing gets slightly better

Rails Scenarios – a sane way to specify really complex fixtures in Rails. Lets you write classes to specify data and helpers to operate on that data. There’s a sane way to compose data and create relationships, as well as support for test/unit and RSpec. Personally, I’m currently in a not-unhappy place with YAML fixtures, but if you aren’t, this is worth a look.

By Adam Keys

Telling a joke. Typing.