Skip to content

Instantly share code, notes, and snippets.

@tdavchev
Created May 7, 2013 23:52
Show Gist options
  • Save tdavchev/5537144 to your computer and use it in GitHub Desktop.
Save tdavchev/5537144 to your computer and use it in GitHub Desktop.
1) User registration returns error with unmatching passwords
Failure/Error: page.should have_content "Password doesn't match confirmation"
expected there to be text "Password doesn't match confirmation" in "Abene Sign up Login User index Jobs Skills Sign up Select list Email Password Password confirmation Sign in Forgot your password? © 2013 Abene Information Link Link Link Abene Link Link Link"
# ./spec/features/user_spec.rb:32:in `block (3 levels) in <top (required)>'
2) User registration of companies
Failure/Error: fill_in "Name", with: company.name
Capybara::ElementNotFound:
Unable to find field "Name"
# ./spec/features/user_spec.rb:50:in `block (3 levels) in <top (required)>'
3) User registration of universities
Failure/Error: fill_in "Name", with: university.name
Capybara::ElementNotFound:
Unable to find field "Name"
# ./spec/features/user_spec.rb:58:in `block (3 levels) in <top (required)>'
4) User registration of students
Failure/Error: page.should have_content success_message
expected there to be text "Congratulations! You have been registered for Abene! Please fill in your details" in "Abene Sign up Login User index Jobs Skills Sign up Select list Email Password Password confirmation Sign in Forgot your password? © 2013 Abene Information Link Link Link Abene Link Link Link"
# ./spec/features/user_spec.rb:40:in `block (3 levels) in <top (required)>'
Finished in 18.73 seconds
16 examples, 4 failures, 1 pending
Failed examples:
rspec ./spec/features/user_spec.rb:27 # User registration returns error with unmatching passwords
rspec ./spec/features/user_spec.rb:46 # User registration of companies
rspec ./spec/features/user_spec.rb:54 # User registration of universities
rspec ./spec/features/user_spec.rb:37 # User registration of students
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment