Tim Riley

View Specs: expectations or stubs on ActionView helpers

While adding Textile to a resource following the outside-in BDD process described in the RSpec Book I found myself wanting to put a should_receive expectation on ActionView::Helpers::TextHelper#textilize

This left me somewhat confused, as I wasn't sure what to stub, and the book doesn't cover this. Google also drew a blank.

Fixtureless datas with Machinist and Sham

Not long ago Pete Yandell bestowed upon us an alternative to FactoryGirl and other fixture methods: Machinist.

Syndicate content