Michael Klishin wrote: > > why don't you just have a look at the source?
Because it's probably all "refactored". > I said earlier that > Webrat does not do any http requests, > it wraps merb's request helper method Then it's the same level as Rails's 'get'... >> Or is it lower level, and it's just Merb's test-side 'get'? > > webrat is very high level, you operate terms like "click a link", > "fill in form field", "submit form", > "attach file" and not get/post/put (though you still have access to > them if you need them) Low level in terms of where it mocks the web stack. > with cucumber webrat tests are basically plain text where you write > most of your test vocabulary > during first 3-4 days of development and then to write tests you just > copy-paste and edit text, rarely > adding some Ruby code as you go Nice! > And... I am still waiting for a stack trace. Did I miss a post? The stack trace is nothing but a missing Merb::Test::ViewHelper from the middle of spec_helper.rb. Installing webrat fixes it. But there was no error message saying to install webrat. -- Phlip --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
