Oh how I wish "cucumber cookies" weren't a real thing. It makes
googling for an answer kinda hard.
I'm starting to use Cucumber + Capybara on a site that authenticates
with a single-sign-on server. I don't really want to test that aspect
(at least yet) so I want to do everything but reach out to the profile
server. It turns out that if I have a cookie[:user_id] with the id of
a user in the database, I don't need to reach out to the server. I've
tried everything I can think of (and googled) to be able to set a
cookie in the step definition that will get used in the controller but
it isn't working.
Anybody have experience with kind of thing? Any suggestions?
Thanks!
--
Forge38 LLC
Randy Schmidt
ra...@forge38.com
http://forge38.com
267-334-6833
--
You received this message because you are subscribed to the Google Groups "Philly.rb" group.
To post to this group, send email to
phil...@googlegroups.com.
To unsubscribe from this group, send email to
phillyrb+u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/phillyrb?hl=en.