mxhero-api 0.1.27 → 0.1.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OGMwODUzYjE4OTAzNzhkZjVlYmQ3ZDA1YTM1MWI3NDIyYWZmZDU3Mw==
4
+ ZDNhNzFjMGM0OTZjN2Q1Y2YxZGNlYzUyNTNjYmJjODAzZDJmNTE3ZQ==
5
5
  data.tar.gz: !binary |-
6
- ZWIxNjFhNmI2M2UyYzhkYTZhYjJlNzk3MDY2YWQxNGUyMzEwZDEwMg==
6
+ YTVmZDczZTE3ZjczY2YxY2E4NWFhM2JlNjlhNzIwMjM1Yjk5YTUzMw==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- N2FkMjM4MGE1ZjI0Y2QxZThkMTA5MDBjZmVhYjQ1Y2EzYWJkYjY2ZmM5OTBm
10
- ODcwNTg0MGI1YmJhMTIzZThhMzRmMmUzYjIxMzk4NDRjNjVhNTZmNzAyYmUz
11
- MjkwYWM1NDExMTZlMzE4OGExMWU1YmFmNWJmMTIyMGMwMGYxOWI=
9
+ ZmFjZGEyZDkxOGQ5MTRlMzA2MWRiY2M0MzEyMjlmODlmMGFjNWQxYzAzZTc3
10
+ MmJiNTE0MGFhOTdiM2FiMmVkYWMxYmMxODkxYzVlY2IxYzgzNTJkMWE3NDlh
11
+ Njg1YWE4MjIxYTU2NjM2OTZmM2IzNDk0YjYxMzllOTE3MzRlYmY=
12
12
  data.tar.gz: !binary |-
13
- NjVkZDhkMjBhNjM4ODQzYjU1MGU1ZmZiZDhjM2Q3MTA0ZWNmMmVlMGVhZWMw
14
- Yjk1OWNiY2Y2YTcxODQxMWY1OTMyNmUzYzYyZTA3M2M2Y2YyOTRmMTRjNjVm
15
- YmY3YmFiYTllOThiYjNlN2YzNjBkNWJiZGI4YTczOWQyMDkzZjU=
13
+ NzBlZmJlY2NkMWQ0ZDhkNTg4YmVmMmFjZDZhY2MzMzA5ZjM3NDAyODg5MTYz
14
+ NWVlZjNmZGMwZDA0OGI0ZjY0YzQ1MTVkMGUwZDMxMzc2MGQ0M2JiYjQyNGVm
15
+ MWNiZTZhMjdmMDRmOTA1NTNmMGYwMzRiYWJmOGIzYzdlYzA2NzU=
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.27
1
+ 0.1.28
data/lib/mxhero-api.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # encoding: utf-8
2
2
  require 'httpclient'
3
3
  require 'json'
4
+ require 'date'
4
5
 
5
6
  require 'communication'
6
7
  require 'urls'
@@ -378,12 +379,55 @@ module MxHero::API
378
379
  end
379
380
  domains
380
381
  end
382
+
383
+ # Fetch the user
384
+ # @return [MxHero::API::Response | nil]
385
+ def fetch_user(user)
386
+ response = call(:get, user_url(user))
387
+ if response.status == 200
388
+ return parse_response(response)
389
+ end
390
+ nil
391
+ end
392
+
393
+
394
+ # Create a new user
395
+ # @param [Hash] user_info
396
+ # @option user_info [String] :name
397
+ # @option user_info [String] :lastName
398
+ # @option user_info [String] :notifyEmail
399
+ # @option user_info [String] :userName
400
+ # @option user_info [String] :locale
401
+ # @option user_info [String] :password
402
+ #
403
+ # @param [Array<String>] domains
404
+ #
405
+ def create_user(user_info, *domains)
406
+ user = {
407
+ name: "", lastName: "", notifyEmail: "",
408
+ userName: "", locale: "en_US", password: "1234",
409
+ authorities: ["ROLE_DOMAIN_ADMIN"],
410
+ created: DateTime.now.strftime('%Q'),
411
+ domains: domains.map { |domain| { domain: domain } }
412
+ }
413
+ user.merge!(user_info)
414
+ response = call(:post, users_url, user.to_json, throw_exception: false)
415
+ response.status == 201
416
+ end
381
417
 
382
418
  # --------------------------------------------------------------------------------------------------------------------------------
383
419
  private
420
+
421
+ def users_url
422
+ service_url + "/users"
423
+ end
424
+
425
+ def user_url(user)
426
+ users_url + "/#{user}/"
427
+ end
384
428
 
385
429
  def user_domains_url(user)
386
- service_url + "/users/#{user}/domains"
430
+ user_url(user) + "domains"
387
431
  end
388
432
 
389
433
  # Fetch an element from an URL. That element maybe not found
data/mxhero-api.gemspec CHANGED
@@ -1,22 +1,22 @@
1
1
  # -*- encoding: utf-8 -*-
2
- # stub: mxhero-api 0.1.27 ruby lib
2
+ # stub: mxhero-api 0.1.28 ruby lib
3
3
 
4
4
  Gem::Specification.new do |s|
5
5
  s.name = "mxhero-api"
6
- s.version = "0.1.27"
6
+ s.version = "0.1.28"
7
7
 
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
9
9
  s.authors = ["Maximiliano Dello Russo", "Juan Pablo Royo", "mxHero"]
10
- s.date = "2014-01-13"
10
+ s.date = "2014-01-20"
11
11
  s.description = "A gem to provide easy access to the API of MxHero platform (http://www.mxhero.com/)"
12
12
  s.email = ["maxidr@mxhero.com", "juanpablo.royo@gmail.com", "mxhero@mxhero.com"]
13
- s.files = [".gitignore", ".rvmrc", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "VERSION", "lib/communication.rb", "lib/directories.rb", "lib/dto.rb", "lib/groups.rb", "lib/mxhero-api.rb", "lib/resource.rb", "lib/resources/account.rb", "lib/resources/domain.rb", "lib/resources/group.rb", "lib/urls.rb", "mxhero-api.gemspec", "test/fixtures/api/account_properties.yml", "test/fixtures/api/account_properties_not_found.yml", "test/fixtures/api/accounts.yml", "test/fixtures/api/accounts_filtered.yml", "test/fixtures/api/accounts_from_domain.yml", "test/fixtures/api/accounts_from_domain_paginated.yml", "test/fixtures/api/accounts_without_group.yml", "test/fixtures/api/add_an_inexistent_account_to_group.yml", "test/fixtures/api/add_and_remove_account.yml", "test/fixtures/api/all_groups.yml", "test/fixtures/api/create_directory.yml", "test/fixtures/api/create_rule_for_domain.yml", "test/fixtures/api/delete_directory.yml", "test/fixtures/api/delete_group.yml", "test/fixtures/api/delete_rule.yml", "test/fixtures/api/domain_by_id.yml", "test/fixtures/api/domain_by_id_not_found.yml", "test/fixtures/api/domain_rule.yml", "test/fixtures/api/domains.yml", "test/fixtures/api/fetch_directory.yml", "test/fixtures/api/ldap_info.yml", "test/fixtures/api/move_to_trial.yml", "test/fixtures/api/refresh_directory.yml", "test/fixtures/api/remove_account_from_group_twice.yml", "test/fixtures/api/remove_inexistente_account_from_group.yml", "test/fixtures/api/rules_for_domain.yml", "test/fixtures/api/rules_for_domain_by_component.yml", "test/fixtures/api/save_group.yml", "test/fixtures/api/system_properties.yml", "test/fixtures/api/system_properties_create.yml", "test/fixtures/api/system_properties_element.yml", "test/fixtures/api/test_domain.yml", "test/fixtures/api/update_account_properties.yml", "test/fixtures/api/update_accounts_group_scope.yml", "test/fixtures/api/update_accounts_properties_scope.yml", "test/fixtures/api/update_directory.yml", "test/fixtures/api/update_rule.yml", "test/fixtures/api/user_domains.yml", "test/fixtures/domain.rb", "test/helper.rb", "test/test_directories.rb", "test/test_domain.rb", "test/test_dto.rb", "test/test_feature.rb", "test/test_groups.rb", "test/test_mxhero_api.rb", "test/test_mxhero_api_response.rb", "test/test_resource.rb"]
13
+ s.files = [".gitignore", ".rvmrc", "Gemfile", "LICENSE.txt", "README.md", "Rakefile", "VERSION", "lib/communication.rb", "lib/directories.rb", "lib/dto.rb", "lib/groups.rb", "lib/mxhero-api.rb", "lib/resource.rb", "lib/resources/account.rb", "lib/resources/domain.rb", "lib/resources/group.rb", "lib/urls.rb", "mxhero-api.gemspec", "test/fixtures/api/account_properties.yml", "test/fixtures/api/account_properties_not_found.yml", "test/fixtures/api/accounts.yml", "test/fixtures/api/accounts_filtered.yml", "test/fixtures/api/accounts_from_domain.yml", "test/fixtures/api/accounts_from_domain_paginated.yml", "test/fixtures/api/accounts_without_group.yml", "test/fixtures/api/add_an_inexistent_account_to_group.yml", "test/fixtures/api/add_and_remove_account.yml", "test/fixtures/api/all_groups.yml", "test/fixtures/api/create_directory.yml", "test/fixtures/api/create_rule_for_domain.yml", "test/fixtures/api/create_user.yml", "test/fixtures/api/delete_directory.yml", "test/fixtures/api/delete_group.yml", "test/fixtures/api/delete_rule.yml", "test/fixtures/api/domain_by_id.yml", "test/fixtures/api/domain_by_id_not_found.yml", "test/fixtures/api/domain_rule.yml", "test/fixtures/api/domains.yml", "test/fixtures/api/fetch_directory.yml", "test/fixtures/api/fetch_user.yml", "test/fixtures/api/ldap_info.yml", "test/fixtures/api/move_to_trial.yml", "test/fixtures/api/refresh_directory.yml", "test/fixtures/api/remove_account_from_group_twice.yml", "test/fixtures/api/remove_inexistente_account_from_group.yml", "test/fixtures/api/rules_for_domain.yml", "test/fixtures/api/rules_for_domain_by_component.yml", "test/fixtures/api/save_group.yml", "test/fixtures/api/system_properties.yml", "test/fixtures/api/system_properties_create.yml", "test/fixtures/api/system_properties_element.yml", "test/fixtures/api/test_domain.yml", "test/fixtures/api/update_account_properties.yml", "test/fixtures/api/update_accounts_group_scope.yml", "test/fixtures/api/update_accounts_properties_scope.yml", "test/fixtures/api/update_directory.yml", "test/fixtures/api/update_rule.yml", "test/fixtures/api/user_domains.yml", "test/fixtures/domain.rb", "test/helper.rb", "test/test_directories.rb", "test/test_domain.rb", "test/test_dto.rb", "test/test_feature.rb", "test/test_groups.rb", "test/test_mxhero_api.rb", "test/test_mxhero_api_response.rb", "test/test_resource.rb"]
14
14
  s.homepage = "http://github.com/mxhero/mxhero-api"
15
15
  s.licenses = ["GPL-3"]
16
16
  s.require_paths = ["lib"]
17
17
  s.rubygems_version = "2.1.9"
18
18
  s.summary = "A MxHero API client for ruby"
19
- s.test_files = ["test/fixtures/api/account_properties.yml", "test/fixtures/api/account_properties_not_found.yml", "test/fixtures/api/accounts.yml", "test/fixtures/api/accounts_filtered.yml", "test/fixtures/api/accounts_from_domain.yml", "test/fixtures/api/accounts_from_domain_paginated.yml", "test/fixtures/api/accounts_without_group.yml", "test/fixtures/api/add_an_inexistent_account_to_group.yml", "test/fixtures/api/add_and_remove_account.yml", "test/fixtures/api/all_groups.yml", "test/fixtures/api/create_directory.yml", "test/fixtures/api/create_rule_for_domain.yml", "test/fixtures/api/delete_directory.yml", "test/fixtures/api/delete_group.yml", "test/fixtures/api/delete_rule.yml", "test/fixtures/api/domain_by_id.yml", "test/fixtures/api/domain_by_id_not_found.yml", "test/fixtures/api/domain_rule.yml", "test/fixtures/api/domains.yml", "test/fixtures/api/fetch_directory.yml", "test/fixtures/api/ldap_info.yml", "test/fixtures/api/move_to_trial.yml", "test/fixtures/api/refresh_directory.yml", "test/fixtures/api/remove_account_from_group_twice.yml", "test/fixtures/api/remove_inexistente_account_from_group.yml", "test/fixtures/api/rules_for_domain.yml", "test/fixtures/api/rules_for_domain_by_component.yml", "test/fixtures/api/save_group.yml", "test/fixtures/api/system_properties.yml", "test/fixtures/api/system_properties_create.yml", "test/fixtures/api/system_properties_element.yml", "test/fixtures/api/test_domain.yml", "test/fixtures/api/update_account_properties.yml", "test/fixtures/api/update_accounts_group_scope.yml", "test/fixtures/api/update_accounts_properties_scope.yml", "test/fixtures/api/update_directory.yml", "test/fixtures/api/update_rule.yml", "test/fixtures/api/user_domains.yml", "test/fixtures/domain.rb", "test/helper.rb", "test/test_directories.rb", "test/test_domain.rb", "test/test_dto.rb", "test/test_feature.rb", "test/test_groups.rb", "test/test_mxhero_api.rb", "test/test_mxhero_api_response.rb", "test/test_resource.rb"]
19
+ s.test_files = ["test/fixtures/api/account_properties.yml", "test/fixtures/api/account_properties_not_found.yml", "test/fixtures/api/accounts.yml", "test/fixtures/api/accounts_filtered.yml", "test/fixtures/api/accounts_from_domain.yml", "test/fixtures/api/accounts_from_domain_paginated.yml", "test/fixtures/api/accounts_without_group.yml", "test/fixtures/api/add_an_inexistent_account_to_group.yml", "test/fixtures/api/add_and_remove_account.yml", "test/fixtures/api/all_groups.yml", "test/fixtures/api/create_directory.yml", "test/fixtures/api/create_rule_for_domain.yml", "test/fixtures/api/create_user.yml", "test/fixtures/api/delete_directory.yml", "test/fixtures/api/delete_group.yml", "test/fixtures/api/delete_rule.yml", "test/fixtures/api/domain_by_id.yml", "test/fixtures/api/domain_by_id_not_found.yml", "test/fixtures/api/domain_rule.yml", "test/fixtures/api/domains.yml", "test/fixtures/api/fetch_directory.yml", "test/fixtures/api/fetch_user.yml", "test/fixtures/api/ldap_info.yml", "test/fixtures/api/move_to_trial.yml", "test/fixtures/api/refresh_directory.yml", "test/fixtures/api/remove_account_from_group_twice.yml", "test/fixtures/api/remove_inexistente_account_from_group.yml", "test/fixtures/api/rules_for_domain.yml", "test/fixtures/api/rules_for_domain_by_component.yml", "test/fixtures/api/save_group.yml", "test/fixtures/api/system_properties.yml", "test/fixtures/api/system_properties_create.yml", "test/fixtures/api/system_properties_element.yml", "test/fixtures/api/test_domain.yml", "test/fixtures/api/update_account_properties.yml", "test/fixtures/api/update_accounts_group_scope.yml", "test/fixtures/api/update_accounts_properties_scope.yml", "test/fixtures/api/update_directory.yml", "test/fixtures/api/update_rule.yml", "test/fixtures/api/user_domains.yml", "test/fixtures/domain.rb", "test/helper.rb", "test/test_directories.rb", "test/test_domain.rb", "test/test_dto.rb", "test/test_feature.rb", "test/test_groups.rb", "test/test_mxhero_api.rb", "test/test_mxhero_api_response.rb", "test/test_resource.rb"]
20
20
 
21
21
  if s.respond_to? :specification_version then
22
22
  s.specification_version = 4
@@ -0,0 +1,39 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: post
5
+ uri: http://admin:password@test.mxhero.com/webapi/api/v1/users
6
+ body:
7
+ encoding: UTF-8
8
+ string: ! '{"name":"test","lastName":"test last name","notifyEmail":"test@mxhero.com","userName":"test@mxhero.com","locale":"en_US","password":"1234","authorities":["ROLE_DOMAIN_ADMIN"],"created":"1390249453298","domains":[{"domain":"mxhero.com"},{"domain":"stage.mxhero.com"}]}'
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ Authorization:
15
+ - Basic YWRtaW46cGFzc3dvcmQ=
16
+ response:
17
+ status:
18
+ code: 201
19
+ message: !binary |-
20
+ Q3JlYXRlZA==
21
+ headers:
22
+ !binary "RGF0ZQ==":
23
+ - !binary |-
24
+ TW9uLCAyMCBKYW4gMjAxNCAyMDoyNDoxNCBHTVQ=
25
+ !binary "U2VydmVy":
26
+ - !binary |-
27
+ QXBhY2hlLzIuMi4xNCAoVWJ1bnR1KQ==
28
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
29
+ - !binary |-
30
+ Y2h1bmtlZA==
31
+ !binary "Q29udGVudC1UeXBl":
32
+ - !binary |-
33
+ YXBwbGljYXRpb24vanNvbg==
34
+ body:
35
+ encoding: US-ASCII
36
+ string: ! '{"name":"test","lastName":"test last name","notifyEmail":"test@mxhero.com","userName":"test@mxhero.com","created":1390249453000,"locale":"en_US","password":null,"enabled":true,"authorities":["ROLE_DOMAIN_ADMIN"],"domains":[{"domain":"mxhero.com","created":1390249454000,"updated":1390249454000,"metadata":null},{"domain":"stage.mxhero.com","created":1390249454000,"updated":1390249454000,"metadata":null}]}'
37
+ http_version:
38
+ recorded_at: Mon, 20 Jan 2014 20:24:14 GMT
39
+ recorded_with: VCR 2.5.0
@@ -0,0 +1,75 @@
1
+ ---
2
+ http_interactions:
3
+ - request:
4
+ method: get
5
+ uri: http://admin:password@test.mxhero.com/webapi/api/v1/users/mxhero@mxhero.com/
6
+ body:
7
+ encoding: US-ASCII
8
+ string: ''
9
+ headers:
10
+ Accept:
11
+ - application/json
12
+ Content-Type:
13
+ - application/json
14
+ Authorization:
15
+ - Basic YWRtaW46cGFzc3dvcmQ=
16
+ response:
17
+ status:
18
+ code: 200
19
+ message: !binary |-
20
+ T0s=
21
+ headers:
22
+ !binary "RGF0ZQ==":
23
+ - !binary |-
24
+ TW9uLCAyMCBKYW4gMjAxNCAyMDoxNDoyOCBHTVQ=
25
+ !binary "U2VydmVy":
26
+ - !binary |-
27
+ QXBhY2hlLzIuMi4xNCAoVWJ1bnR1KQ==
28
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
29
+ - !binary |-
30
+ Y2h1bmtlZA==
31
+ !binary "Q29udGVudC1UeXBl":
32
+ - !binary |-
33
+ YXBwbGljYXRpb24vanNvbg==
34
+ body:
35
+ encoding: US-ASCII
36
+ string: ! '{"name":"mxhero","lastName":"mxhero","notifyEmail":"mxhero@mxhero.com","userName":"mxhero@mxhero.com","created":1388066459000,"locale":"en_US","password":null,"enabled":true,"authorities":["ROLE_ADMIN"],"domains":[{"domain":"mxhero.com","created":1389711875000,"updated":1389711875000,"metadata":null},{"domain":"stage.mxhero.com","created":1389711875000,"updated":1389711875000,"metadata":null}]}'
37
+ http_version:
38
+ recorded_at: Mon, 20 Jan 2014 20:14:28 GMT
39
+ - request:
40
+ method: get
41
+ uri: http://admin:password@test.mxhero.com/webapi/api/v1/users/not-exist@mxhero.com/
42
+ body:
43
+ encoding: US-ASCII
44
+ string: ''
45
+ headers:
46
+ Accept:
47
+ - application/json
48
+ Content-Type:
49
+ - application/json
50
+ Authorization:
51
+ - Basic YWRtaW46cGFzc3dvcmQ=
52
+ response:
53
+ status:
54
+ code: 404
55
+ message: !binary |-
56
+ Tm90IEZvdW5k
57
+ headers:
58
+ !binary "RGF0ZQ==":
59
+ - !binary |-
60
+ TW9uLCAyMCBKYW4gMjAxNCAyMDoxNDoyOCBHTVQ=
61
+ !binary "U2VydmVy":
62
+ - !binary |-
63
+ QXBhY2hlLzIuMi4xNCAoVWJ1bnR1KQ==
64
+ !binary "VHJhbnNmZXItRW5jb2Rpbmc=":
65
+ - !binary |-
66
+ Y2h1bmtlZA==
67
+ !binary "Q29udGVudC1UeXBl":
68
+ - !binary |-
69
+ YXBwbGljYXRpb24vanNvbg==
70
+ body:
71
+ encoding: US-ASCII
72
+ string: ! '{"status":404,"code":404,"message":"user.not.found","developerMessage":"user.not.found","moreInfoUrl":"mailto:support@mxhero.com"}'
73
+ http_version:
74
+ recorded_at: Mon, 20 Jan 2014 20:14:29 GMT
75
+ recorded_with: VCR 2.5.0
@@ -316,6 +316,28 @@ class MxHeroAPITest < MiniTest::Unit::TestCase
316
316
  end
317
317
  end
318
318
 
319
+ def test_fetch_user
320
+ VCR.use_cassette('fetch_user') do
321
+ user = @api.fetch_user('mxhero@mxhero.com')
322
+ refute user.nil?
323
+
324
+ user = @api.fetch_user('not-exist@mxhero.com')
325
+ assert user.nil?
326
+ end
327
+ end
328
+
329
+ def test_create_user
330
+ VCR.use_cassette('create_user') do
331
+ user_info = {
332
+ name: 'test', lastName: 'test last name',
333
+ notifyEmail: 'test@mxhero.com', userName: 'test@mxhero.com'
334
+ }
335
+ created = @api.create_user(user_info, 'mxhero.com', 'stage.mxhero.com')
336
+ assert created
337
+ end
338
+ end
339
+
340
+
319
341
  private
320
342
 
321
343
  def delete_all_rules
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mxhero-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.27
4
+ version: 0.1.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maximiliano Dello Russo
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2014-01-13 00:00:00.000000000 Z
13
+ date: 2014-01-20 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: vcr
@@ -93,6 +93,7 @@ files:
93
93
  - test/fixtures/api/all_groups.yml
94
94
  - test/fixtures/api/create_directory.yml
95
95
  - test/fixtures/api/create_rule_for_domain.yml
96
+ - test/fixtures/api/create_user.yml
96
97
  - test/fixtures/api/delete_directory.yml
97
98
  - test/fixtures/api/delete_group.yml
98
99
  - test/fixtures/api/delete_rule.yml
@@ -101,6 +102,7 @@ files:
101
102
  - test/fixtures/api/domain_rule.yml
102
103
  - test/fixtures/api/domains.yml
103
104
  - test/fixtures/api/fetch_directory.yml
105
+ - test/fixtures/api/fetch_user.yml
104
106
  - test/fixtures/api/ldap_info.yml
105
107
  - test/fixtures/api/move_to_trial.yml
106
108
  - test/fixtures/api/refresh_directory.yml
@@ -166,6 +168,7 @@ test_files:
166
168
  - test/fixtures/api/all_groups.yml
167
169
  - test/fixtures/api/create_directory.yml
168
170
  - test/fixtures/api/create_rule_for_domain.yml
171
+ - test/fixtures/api/create_user.yml
169
172
  - test/fixtures/api/delete_directory.yml
170
173
  - test/fixtures/api/delete_group.yml
171
174
  - test/fixtures/api/delete_rule.yml
@@ -174,6 +177,7 @@ test_files:
174
177
  - test/fixtures/api/domain_rule.yml
175
178
  - test/fixtures/api/domains.yml
176
179
  - test/fixtures/api/fetch_directory.yml
180
+ - test/fixtures/api/fetch_user.yml
177
181
  - test/fixtures/api/ldap_info.yml
178
182
  - test/fixtures/api/move_to_trial.yml
179
183
  - test/fixtures/api/refresh_directory.yml