Sha256: f91767d2d1b67927c81b5808dc0effecc7380e1c1fee484d39bb1eade3ef31b8
Contents?: true
Size: 534 Bytes
Versions: 2
Compression:
Stored size: 534 Bytes
Contents
require 'spec_helper' describe 'as a user' do let(:client) { create_client } let(:location) { 'us-east-1' } let!(:account) { create_account(client: client) } it 'returns a valid docker registry credentials' do credentials = account.retrieve_docker_registry_credentials(location) expect(credentials.username).to be expect(credentials.password).to be expect(credentials.registry_endpoint).to match(/#{location}/) expect(credentials.expires_at).to be > (Time.now + 6 * 3600).to_i end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
ey-core-3.6.6 | spec/docker_registry_credentials_spec.rb |
ey-core-3.6.5 | spec/docker_registry_credentials_spec.rb |