Sha256: 9b4f3dc6037bd4f2663482d68c1c65f54dda7ecf2df3773eb32325afff6e2f31

Contents?: true

Size: 716 Bytes

Versions: 2

Compression:

Stored size: 716 Bytes

Contents

# frozen_string_literal: true

require 'avm/applications/base'

RSpec.describe ::Avm::Applications::Base do
  include_examples 'entries_values', __FILE__, {
    'app0' => {
      'name' => 'Application 0',
      'organization' => nil,
      'scm.id' => 'app1',
      'scm.type' => 'ScmX',
      'scm.url' => 'http://nowhere.net/anypath',
      'scm.repos_path' => 'mygroup/app0'
    },
    'app1' => {
      'name' => nil,
      'organization' => 'org1',
      'scm.id' => nil,
      'scm.type' => 'ScmX',
      'scm.url' => 'http://nowhere.net/anypath',
      'scm.repos_path' => 'mygroup'
    }
  }

  # @return [Avm::Entries::Base]
  def build_instance(instance_id)
    described_class.new(instance_id)
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
eac_tools-0.80.0 sub/avm/spec/lib/avm/applications/base/entries_spec.rb
eac_tools-0.79.0 sub/avm/spec/lib/avm/applications/base/entries_spec.rb