Does anybody have any favorite examples or articles on writing great controller specs?
I can’t site an example off hand, but I generally find myself using controller specs for sad-path stuff. That is, assert that a user can’t access another user’s posts or something similar. This lets me leave feature specs for the happy path.
@Justin_Gordon Not sure if this is what you’re looking for, but I forked this gist which provides a good template/example for writing your specs (including controller specs) and aren’t too dissimilar to Thoughtbot’s style guide.