RSpec.shared_examples 'debian sid' do
  describe file('/etc/debian_version') do
    its(:content){ should eq "bookworm/sid\n" }
  end
end

RSpec.shared_examples 'debian bullseye' do
  describe file('/etc/debian_version') do
    its(:content){ should match a_string_starting_with('11.') }
  end
end

RSpec.shared_examples 'debian buster' do
  describe file('/etc/debian_version') do
    its(:content){ should match a_string_starting_with('10.') }
  end
end

RSpec.shared_examples 'debian stretch' do
  describe file('/etc/debian_version') do
    its(:content){ should match a_string_starting_with('9.') }
  end
end

