|
18 | 18 | describe "parameters" do
|
19 | 19 | it_should_accept "no arguments"
|
20 | 20 | it_should_accept_search_params
|
21 |
| - it_should_accept 'organization', ['--organization-id=1'] |
22 |
| - it_should_accept 'location', ['--location-id=1'] |
23 | 21 | end
|
24 | 22 |
|
25 | 23 | describe "output" do
|
|
37 | 35 | describe "parameters" do
|
38 | 36 | it_should_accept "id", ["--id=1"]
|
39 | 37 | it_should_accept "name", ["--name=ug"]
|
40 |
| - it_should_accept 'organization', %w[--id=1 --organization-id=1] |
41 |
| - it_should_accept 'location', %w[--id=1 --location-id=1] |
42 | 38 | end
|
43 | 39 |
|
44 | 40 | describe "output" do
|
|
62 | 58 | describe "parameters" do
|
63 | 59 | it_should_accept "name", ["--name=ug"]
|
64 | 60 | it_should_accept "name, role ids, user group ids and user ids", ["--name=ug", "--role-ids=1,2,3", "--user-group-ids=1,2,3", "--user-ids=1,2,3"]
|
65 |
| - it_should_accept 'organization', %w[--name=ug --organization-id=1] |
66 |
| - it_should_accept 'location', %w[--name=ug --location-id=1] |
67 | 61 | end
|
68 | 62 | end
|
69 | 63 |
|
|
74 | 68 | describe "parameters" do
|
75 | 69 | it_should_accept "name", ["--name=ug"]
|
76 | 70 | it_should_accept "id", ["--id=1"]
|
77 |
| - it_should_accept 'organization', %w[--id=1 --organization-id=1] |
78 |
| - it_should_accept 'location', %w[--id=1 --location-id=1] |
79 | 71 | end
|
80 | 72 | end
|
81 | 73 |
|
|
88 | 80 | it_should_accept "id", ["--id=1"]
|
89 | 81 | it_should_accept "name and new name", ["--name=ug", "--new-name=ug2"]
|
90 | 82 | it_should_accept "id, new name, role ids, user group ids and user ids", ["--id=1", "--new-name=ug", "--role-ids=1,2,3", "--user-group-ids=1,2,3", "--user-ids=1,2,3"]
|
91 |
| - it_should_accept 'organization', %w[--id=1 --organization-id=1] |
92 |
| - it_should_accept 'location', %w[--id=1 --location-id=1] |
93 | 83 | end
|
94 | 84 | end
|
95 | 85 | end
|
0 commit comments