Skip to content

Commit

Permalink
adds spec for error messages on registration signup [#99]
Browse files Browse the repository at this point in the history
  • Loading branch information
voodoorai2000 committed Aug 17, 2015
1 parent 66c8931 commit cf4495e
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions spec/features/organizations_spec.rb
Expand Up @@ -22,6 +22,14 @@
expect(user.organization).to_not be_verified
end

scenario 'Errors on create' do
visit new_organization_registration_path

click_button 'Sign up'

expect(page).to have_content error_message
end

scenario 'Shared links' do
visit new_user_registration_path
expect(page).to have_link "Sign up as an organization"
Expand Down

0 comments on commit cf4495e

Please sign in to comment.