[rspec-users] Cucumber::ArityMismatchError

aidy lewis aidy.lewis at googlemail.com
Tue Sep 30 09:59:30 EDT 2008


Hi,

We are receiving an ArityMismatchError when we feel we have a valid RegEx

error
C:/svnprojects/olc_stories/lib/framework/common_steps/verification_steps.rb:48:in
`/verify the email with the subject of '[\w\x2E\-\s]*'/'
      create_staff_user.feature:15:in `And verify the email with the
subject of 'xxx.xx.xxx.xxx.com - Your Account Details'

scenario step
And verify the email with the subject of 'xxx.xx.xxx.xxx.com - Your
Account Details'

implemented step
Then /verify the email with the subject of '[\w\x2E\-\s]*'/ do |email_subject|
    verify_an_email_has_been_sent(email_subject)
  end


Aidy


More information about the rspec-users mailing list