Hi -- I know there's a couple of Sinatra devs around on the list, so thought I'd ask -- how do you spec your views & controller actions? There are examples all over the place for speccing the whole stack with RSpec, but I'm already doing that with cucumber, and want to spec out the parts with stubbed & mocked values, like I do in Rails. I guess one way would be to use factory_girl to set up the db & call the actions from RSpec as per the Sinatra examples, but this doesn't seem very lightweight. Cheers, Doug.
-- You received this message because you are subscribed to the Google Groups "NWRUG" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/nwrug-members?hl=en.
