Sha256: 89c904c89afdc162bbde1ed4cbbb9f2a6369e53b0b5e74bd99071ded7ff7fe12

Contents?: true

Size: 317 Bytes

Versions: 47

Compression:

Stored size: 317 Bytes

Contents

class StubDatabaseCredential < OpenStruct; end

Fabricator(:database_credential, from: :stub_database_credential) do
  database

  default false
  type 'postgresql'
  connection_url 'postgresql://aptible:password@10.252.1.125:49158/db'

  after_create { |credential| database.database_credentials << credential }
end

Version data entries

47 entries across 47 versions & 1 rubygems

Version Path
aptible-cli-0.11.1 spec/fabricators/database_credential_fabricator.rb
aptible-cli-0.11.0 spec/fabricators/database_credential_fabricator.rb
aptible-cli-0.10.0 spec/fabricators/database_credential_fabricator.rb
aptible-cli-0.9.0 spec/fabricators/database_credential_fabricator.rb
aptible-cli-0.8.6 spec/fabricators/database_credential_fabricator.rb
aptible-cli-0.8.5 spec/fabricators/database_credential_fabricator.rb
aptible-cli-0.8.4 spec/fabricators/database_credential_fabricator.rb