#191 ✓moved
Per Christian B. Viken

Using Integrity from a non-subdomain breaks Cucumber/WebRat features for Rails

Reported by Per Christian B. Viken | August 26th, 2009 @ 08:29 PM

I have Integrity set up as a subdirectory, instead of a subdomain (i.e. dev.mydomain.com/integrity) and it is breaking my Cucumber/WebRat steps for a Rails application. Most features pass fine, but a few of them gives errors like this:

No route matches "/integrity/" with {:method=>:get} (ActionView::TemplateError)
features/sign_out.feature:8:in `When I sign in as "email@person.com/password"'

No route matches "/integrity/" with {:method=>:get} (ActionView::TemplateError)
features/sign_out.feature:16:in `When I sign in with "remember me" as "email@person.com/password"'

No route matches "/integrity/" with {:method=>:get} (ActionView::TemplateError)
features/dashboard.feature:8:in `When I go to the homepage'

Since all features run fine on my machine, and they all mention /integrity/, which is part of my base URI for Integrity, I assumed it was a problem with Integrity. And sure enough, setting up and using ci.mydomain.com makes all the features pass.

But I want to keep the dev-subdomain, and have /integrity/ instead.

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Automated continuous integration server that doesn't suck.

Shared Ticket Bins

People watching this ticket

Tags

Pages