Sha256: c41da4468e08b0d59dd8a32d2580a673a7fc0e6c5dc0c06b76e54ef3c7920bb8
Contents?: true
Size: 518 Bytes
Versions: 6
Compression:
Stored size: 518 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
6 entries across 6 versions & 2 rubygems