Rails 4 testing- RSPEC + Capybara + current_user

16 views
Skip to first unread message

Sean Kelley

unread,
Oct 15, 2014, 12:50:46 PM10/15/14
to rubyonra...@googlegroups.com
I am having a problem writing one of my first tests. I am using capybara to test an add form.  A select on the form is populated from existing db records associated records of the current_user defined in controller.  I posted my problem originally on stack overflow but have not had any responses.  I thought I would ask here and see if anyone can point me in the right direction: http://stackoverflow.com/questions/26264496/rails-4-integration-testing-capybara-and-devise-current-user
Reply all
Reply to author
Forward
0 new messages