How can I test helpers blocks in Sinatra, using Rspec ?
Posted
by julien
on Stack Overflow
See other posts from Stack Overflow
or by julien
Published on 2010-05-21T00:24:38Z
Indexed on
2010/05/21
0:30 UTC
Read the original article
Hit count: 262
I'm writing a sinatra app and testing it with rspec and rack/test (as described on sinatrarb.com).
It's been great so far, until I moved some rather procedural code from my domain objects to
sinatra helpers.
Since then, I've been trying to figure out how to test these in isolation ?
© Stack Overflow or respective owner