Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Steak with Session Example

Received: by 10.142.157.12 with SMTP id f12mr807952wfe.36.1298492810781;
        Wed, 23 Feb 2011 12:26:50 -0800 (PST)
X-BeenThere: steakrb@googlegroups.com
Received: by 10.142.201.17 with SMTP id y17ls973706wff.1.p; Wed, 23 Feb 2011
 12:26:49 -0800 (PST)
MIME-Version: 1.0
Received: by 10.142.155.9 with SMTP id c9mr271608wfe.8.1298492809276; Wed, 23
 Feb 2011 12:26:49 -0800 (PST)
Received: by y31g2000prd.googlegroups.com with HTTP; Wed, 23 Feb 2011 12:26:49
 -0800 (PST)
Date: Wed, 23 Feb 2011 12:26:49 -0800 (PST)
In-Reply-To: <AANLkTi=gEJ65BVx20817fc5Z5bRbSdihMffoQDPkQk=c@mail.gmail.com>
X-IP: 75.25.153.114
References: <12228459.494.1298433194013.JavaMail.geo-discussion-forums@prof15> <AANLkTi=gEJ65BVx20817fc5Z5bRbSdihMffoQDPkQk=c@mail.gmail.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; en-US)
 AppleWebKit/534.13 (KHTML, like Gecko) Chrome/9.0.597.102 Safari/534.13,gzip(gfe)
Message-ID: <73a0c849-a2eb-42a3-bd7a-8cd85d15297d@y31g2000prd.googlegroups.com>
Subject: Re: Steak with Session Example
From: Tanner Donovan <ttdono...@gmail.com>
To: Steak <steakrb@googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

The scenario is failing at expected: "/account", got: "/" (using =3D=3D).
I'm trying to use ruby-debug to step through the scenario and
inspecting the page (Capybara::Session) object and use Rails logger,
but my controller's logger.info is not showing up in the log/test.log.
Any suggestions on how I can capture logger messaging from within the
Rails app?

Tanner

On Feb 23, 5:07=A0am, Jaime Iniesta <jaimeinie...@gmail.com> wrote:
> Hi Tanner, what's exactly the problem you're facing?
>
> I have a similar setup and I do just like you, visit the sign in form,
> fill it and click the button. No special setup needed.
>
> 2011/2/23 Tanner Donovan <ttdono...@gmail.com>:
>
> > Maybe this is more a Capybara question, but I am wondering if someone c=
ould
> > provide me with an example of using Steak with sessions. I'm
> > trying=A0achieve=A0something like=A0https://gist.github.com/839970=A0wh=
ich tests a
> > user sign in form into a protected area. Thanks in advance.
>
> --
> Jaime Iniesta, freelance web developerhttp://jaimeiniesta.comhttp://proru=