Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5951305
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:31:03+00:00 2026-05-22T17:31:03+00:00

I have the following steps in a capybara/rspec integration test, that is simply trying

  • 0

I have the following steps in a capybara/rspec integration test, that is simply trying to sign up a new member.

 visit new_member_registration_path
 fill_in('Name:',                     :with => 'Rob Doe' )
 fill_in('member_email',              :with => 'rob@smith.com' )
 fill_in('member_email_confirmation', :with => 'rob@smith.com' )
 fill_in('member_password',           :with => 'secret')
 fill_in('Company or Venue Name:',    :with => 'Rob Inc.')
 fill_in('Contact Number:',           :with => '040544404440')
 click_button('Sign up')
 save_and_open_page

For some reason the ’email’ and ‘password’ data is not being passed to the DeviseRegistrations controller (it is blank when viewing the test log) and therefore causing the validation to fail. However up until the save_and_open_page there is no rspec errors (so those fields are being filled in).

What am I missing? Do I need to subclass the DeviseRegistrations controller?

Tested on Rails 3.0.7 with rack-test 0.5.7 and rails 3.1rc1 and rack-test 0.6.0

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T17:31:04+00:00Added an answer on May 22, 2026 at 5:31 pm

    The problem was in the application layout file. I had another (albeit hidden) form that was posting the blank form fields.

    After I created a blank project and saw that it worked perfectly, I peeled back all the potential parts of my app until I found the culprit.

    So the answer to the question is, no, a custom devise controller is not required when you are using custom devise views.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to capybara but I am trying to use it to test
I have TViewerApplet.class in com.abc.applet package.To sign the jar file I followed following steps:
I'm working on linux + eclipse. I have updated my code following the steps
I'm also using Capybara. I have a bunch of test cases.. and two of
I'm trying to test the authenticate_or_request_with_http_basic method using Cucumber and Capybara, but it doesn't
I have used the following steps to create a login page. 1> create the
I have a problem installing gems for tracks. I performed the following steps: Installation
I have done the following steps: Added to gemfile: gem recaptcha Added to config/initializers/recaptcha.rb
I have the following steps in my webpage 1) User Logs in and I
i have obtained the MD5 fingerprint by using the following steps. 1.Obtain Private Key:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.