Hey there,
i'm using pickle 0.2.11 and i 'm trying to get this scenario to work:
Scenario: Show filter box
Given a role exists with title: "manager"
And a staff exists with login: "john", password:
"myverysecretpassword", role: the role
And a person exists with creator: the staff
And I am logged in as "john" with password
"myverysecretpassword"
When I go to the staff's that person's protocols page
Then show me the page
This is how my routes look like:
map.namespace :staff do |
staff|
staff.resources :people, do
|person|
person.resources :protocols
end
end
I would expect path_to_pickle to return a path like "/staff/people/137/
protocols", but it returns this path:
"/staff/people/137/protocols.%23%3Cperson:0x2eef76c%3E"
Any hints on what i'm doing wrong or how to get this to work?
Thanks
Tobi
--
You received this message because you are subscribed to the Google Groups "pickle" group.
To post to this group, send email to
pickle-...@googlegroups.com.
To unsubscribe from this group, send email to
pickle-cucumb...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/pickle-cucumber?hl=en.