Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Failures:
- 1) User Management
- As the site owner
- I want to provide an user management
- so that I can protect functions and grant access based on roles
- Agents have access to their office page
- Failure/Error: expect(page).to have_content "Welcome to your office, #{@agent.name}"
- expected to find text "Welcome to your office, John Doe" in "× This site is protected. Please log in first. Log In Email Password"
- # ./spec/features/users_spec.rb:51:in `block (2 levels) in <top (required)>'
- 2) User Management
- As the site owner
- I want to provide an user management
- so that I can protect functions and grant access based on roles
- User log in
- Failure/Error: expect(page).to have_content "Successfully logged in."
- expected to find text "Successfully logged in." in "× Account inactive. Please activate your account. Log In Email Password"
- # ./spec/features/users_spec.rb:32:in `block (2 levels) in <top (required)>'
- 3) User Management
- As the site owner
- I want to provide an user management
- so that I can protect functions and grant access based on roles
- Users with no agent role dont have office access
- Failure/Error: expect(page).to have_content "Access denied. Insufficent rights."
- expected to find text "Access denied. Insufficent rights." in "× This site is protected. Please log in first. Log In Email Password"
- # ./spec/features/users_spec.rb:65:in `block (2 levels) in <top (required)>'
- Finished in 2.75 seconds
- 8 examples, 3 failures
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement