[rspec-users] RSpec story failing because create is not rendering 'show'

Pat Maddox pergesu at gmail.com
Fri Sep 12 11:01:24 EDT 2008


On Fri, Sep 12, 2008 at 10:58 AM, Damian Jones <lists at ruby-forum.com> wrote:
> David
>
> Are you saying this part should work:
>
> And "the page should show", "Product 1" do |text|
>  response.should have_text(/#{text}/)
> end
>
> because I'm getting nil for this step too.

Is the request actually completing successfully?  It seems like there
might be an exception that's preventing the page from rendering.

Pat


More information about the rspec-users mailing list