Doug Bryant

Tech thought and notes

Rspec Test Render(:nothing = True)

I was trying to test one of my controllers was successfully hitting the render(:nothing = true) block. I could not find anything specifically in the API which handled this senario, so I ended up using have_text with a space as an argument.

@response.should have_text(" ")