Sha256: 6b13eec8fcbb1ede230ad0f59ad68d1bb58274195ff7391f6ece80551140a076

Contents?: true

Size: 400 Bytes

Versions: 1

Compression:

Stored size: 400 Bytes

Contents

require 'spec_helper'
require 'onceover/controlrepo'

describe "Onceover::Controlrepo" do
  context "in a barebones controlrepo" do
    before do
      @repo = Onceover::Controlrepo.new(
        {
          path: 'spec/fixtures/controlrepos/minimal'
        }
      )
    end

    context "without hiera.yaml" do
      it { expect(@repo.hiera_config_file_relative_path).to be_nil }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
onceover-4.0.0 spec/onceover/controlrepo_spec.rb