-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotes.txt
29 lines (23 loc) · 1.22 KB
/
notes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Using the default profile...
Feature: Users have basic abilities
In order to manage site content
As a user
I have basic abilities
@require_login
Feature: Users have roles
In order to protect application data
As a user
I have limited abilities based on my role
Scenario: admin cannot modify superadmin # features/users_have_roles.feature:8
Given I am the logged in admin "John Doe" # features/step_definitions/user_steps.rb:20
wrong number of arguments (0 for 1) (ArgumentError)
./features/step_definitions/user_steps.rb:29:in `/^I am the logged in (.+) "(.+)"$/'
features/users_have_roles.feature:9:in `Given I am the logged in admin "John Doe"'
When I am on the users page # features/step_definitions/web_steps.rb:42
Then I should see "All Users" # features/step_definitions/web_steps.rb:103
Then I should not see "superadmin" within the user role column # features/step_definitions/web_steps.rb:33
Failing Scenarios:
cucumber features/users_have_roles.feature:8 # Scenario: admin cannot modify superadmin
1 scenario (1 failed)
4 steps (1 failed, 3 skipped)
0m3.971s