Sha256: 5984cbe7abc5d47bb4b74cf21c438aff6ccd420dff4385acdcecfdf40b2a55ea

Contents?: true

Size: 575 Bytes

Versions: 7

Compression:

Stored size: 575 Bytes

Contents

# frozen_string_literal: true

require 'avm/instances/application'

RSpec.describe ::Avm::Instances::Application do
  let(:instance) { described_class.new('avm-tools') }

  ::EacRubyUtils::Rspec
    .default_setup
    .stub_eac_config_node(self, ::File.join(__dir__, 'application_spec_fixture.yml'))

  describe '#id' do
    it { expect(instance.id).to eq('avm-tools') }
  end

  describe '#path_prefix' do
    it { expect(instance.path_prefix).to eq(['avm-tools']) }
  end

  describe '#read_entry' do
    it { expect(instance.read_entry(:exist)).to eq('exist') }
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
eac_tools-0.8.0 sub/avm-tools/spec/lib/avm/instances/application_spec.rb
eac_tools-0.7.0 sub/avm-tools/spec/lib/avm/instances/application_spec.rb
eac_tools-0.6.0 sub/avm-tools/spec/lib/avm/instances/application_spec.rb
eac_tools-0.5.0 sub/avm-tools/spec/lib/avm/instances/application_spec.rb
eac_tools-0.4.0 sub/avm-tools/spec/lib/avm/instances/application_spec.rb
eac_tools-0.3.0 sub/avm-tools/spec/lib/avm/instances/application_spec.rb
eac_tools-0.2.2 sub/avm-tools/spec/lib/avm/instances/application_spec.rb