David, You probably would like to use the merb_cucumber plugin instead of the rSpec stories...
http://github.com/roman/merb_cucumber/tree/master On Oct 24, 4:35 pm, skrat <[EMAIL PROTECTED]> wrote: > I'm a bit confused. this looks like controller and views spec > combined, am I right? > > On Oct 5, 9:57 pm, "Yehuda Katz" <[EMAIL PROTECTED]> wrote: > > > We call it "request testing" ;) > > -- Yehuda > > > On Sun, Oct 5, 2008 at 12:41 PM, Matthijs Langenberg > > <[EMAIL PROTECTED]>wrote: > > > > Looks great Yehuda! > > > Controller testing the way I like it. > > > > On Sun, Oct 5, 2008 at 8:50 PM, Yehuda Katz <[EMAIL PROTECTED]> wrote: > > > > David J., > > > > You're in luck! We're going to recommend testing Merb apps exactly the > > > way > > > > you'd like to, and the mechanisms for doing so have recently been added > > > to > > > > HEAD. > > > > Take a look athttp://gist.github.com/14910foran example of how to use > > > the > > > > new helpers. Note that if you use the request() helper on HEAD (soon to > > > be > > > > released as 0.9.8) sessions are automatically sticky, so within a given > > > > test, you can just hit the login URL, and any other requests in that > > > > test > > > > will be logged in. > > > > -- Yehuda > > > > On Sun, Oct 5, 2008 at 11:33 AM, David J. <[EMAIL PROTECTED]> wrote: > > > > >> I'm looking for recommendations on how to test a RESTful Merb app's > > > >> controllers and models, including setting up sessions. > > > > >> Is there a good Merb open source example that you would recommend? > > > > >> I am considering full-stack testing (i.e. RSpec stories) or other > > > >> ways. > > > > >> Thanks, > > > >> David > > > > >> P.S. I looked over: > > > >>http://wiki.merbivore.com/pages/controller-specs > > > >> and it recommends mocking out the models, so it is not quite the > > > >> approach I'm looking for. > > > > > -- > > > > Yehuda Katz > > > > Developer | Engine Yard > > > > (ph) 718.877.1325 > > > -- > > Yehuda Katz > > Developer | Engine Yard > > (ph) 718.877.1325 --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "merb" 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/merb?hl=en -~----------~----~----~----~------~----~------~--~---
