require 'spec_helper'

describe file('/etc/apt/sources.list.d/hypriot.list') do
  it { should be_file }
  it { should be_mode 644 }
  it { should be_owned_by 'root' }
  it { should contain 'deb https://packagecloud.io/Hypriot/Schatzkiste/debian/ jessie main' }
end

describe package('apt-transport-https') do
  it { should be_installed }
end

require 'spec_helper'

# describe file('/etc/apt/sources.list.d/hypriot.list') do
#   it { should be_file }
#   it { should be_mode 644 }
#   it { should be_owned_by 'root' }
#   it { should contain 'deb https://packagecloud.io/Hypriot/Schatzkiste/debian/ jessie main' }
# end

describe package('apt-transport-https') do
  it { should be_installed }
end

Fix integrations tests for hypriot apt repo
Fix integrations tests for hypriot apt repo

Signed-off-by: Dieter Reuter <554783fc552b5b2a46dd3d7d7b9b2cce9a82c122@me.com>
