Sha256: 767d1a2ca245c70fde91dfdb1a14a19e00be9c828b9876289650ae954e67f0f3

Contents?: true

Size: 322 Bytes

Versions: 9

Compression:

Stored size: 322 Bytes

Contents

class StubMaintenanceDatabase < OpenStruct; end

Fabricator(:maintenance_database, from: :stub_maintenance_database) do
  id { Fabricate.sequence(:database_id) { |i| i } }
  handle 'hello'
  status 'provisioned'
  account
  created_at { Time.now }
  maintenance_deadline { [Time.now + 1.minute, Time.now + 2.minute] }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
aptible-cli-0.24.2 spec/fabricators/maintenance_database_fabricator.rb
aptible-cli-0.24.1 spec/fabricators/maintenance_database_fabricator.rb
aptible-cli-0.24.0 spec/fabricators/maintenance_database_fabricator.rb
aptible-cli-0.23.0 spec/fabricators/maintenance_database_fabricator.rb
aptible-cli-0.22.0 spec/fabricators/maintenance_database_fabricator.rb
aptible-cli-0.21.0 spec/fabricators/maintenance_database_fabricator.rb
aptible-cli-0.20.0 spec/fabricators/maintenance_database_fabricator.rb
aptible-cli-0.19.9 spec/fabricators/maintenance_database_fabricator.rb
aptible-cli-0.19.7 spec/fabricators/maintenance_database_fabricator.rb