Hello everyone:
I am currently assigned to test a big project which uses JRuby to build a
web application. The reason of using JRuby is the web application is
communicating with Java Service. I am writing test cases using Rspec and
looking for a code coverage tool. Rcov is no doubt a nice code c
Sorry for top posting, this is all I get from the mobile gmail.
You don't specify the id of the post when you create one. This is the
same for all restful create actions. In case of nested routes, you
give the parent resource as a param, with normal routes nothing:
post forum_posts_path(@forum)
I didn't notice that when you create a second story you'd just omit the
blocks that were run in the previous scenario
This is my second scenario
Scenario "Failed creating a new topic due to error" do
Given "a user named", "Jon"
Given "a forum named", "General"
And "user logged in s
If you're on Mac and a fan of Growl, you can also check out an
article I wrote/updated at http://devillecompanies.org/2007/08/14/
growl-autotest-and-rspec-108
Enjoy.
Jim Deville
On Sep 19, 2007, at 1:13 PM, Jim Freeze wrote:
On 9/19/07, Lance Carlson <[EMAIL PROTECTED]> wrote:
http://graspr
That''s much more clear
I noticed you omitted
And "user logged in successfully" do |path|
post_via_redirect "/session", :login => "Jon", :password =>
"your_momma"
end
My user is required to be login so without this story the test will fail.
Now should this be in my story because I'm
Hi James.
James Hughes wrote:
Your code looks correct.
My interpretation of the workflow that derives from this tool is that
you write a high level story like you have here, run it, and let it
tell you what to do next. The stack trace is telling you that you need
an Account class. So now you wo