# frozen_string_literal: true
+users_stanza = <<-USERS_STANZA
+ Users:
+ AnonymousUserToken: anonymoususertokensetintheusersdict
+USERS_STANZA
+
keepstore_stanza = <<-KEEPSTORE_STANZA
Keepstore:
InternalURLs:
- "http://keep0.example.net:25107/": {}
+ http://keep0.fixme.example.net:25107: {}
KEEPSTORE_STANZA
volumes_stanza = <<-VOLUMES_STANZA
Volumes:
- ### VOLUME_ONE
fixme-nyw5e-000000000000000:
+ AccessViaHosts:
+ http://keep0.fixme.example.net:25107:
+ ReadOnly: false
Driver: Directory
- DriverParameters: {Root: /tmp}
- AccessViaHosts: {'http://keep0.example.net:25107/': {}}
+ DriverParameters:
+ Root: /tmp
Replication: 2
VOLUMES_STANZA
end
its('content') { should include(keepstore_stanza) }
its('content') { should include(volumes_stanza) }
+ its('content') { should include(users_stanza) }
end
end