describe file('/boot/config.txt') do
  it { should be_file }
  it { should be_mode 755 }
  it { should be_owned_by 'root' }
  its(:content) { should match /^hdmi_force_hotplug=1/ }
  its(:content) { should match /^enable_uart=1/ }
  its(:content) { should match /^start_x=1/ }
  its(:content) { should match /^disable_camera_led=1/ }
  its(:content) { should match /^gpu_mem=128/ }
end

describe file('/boot/config.txt') do
  it { should be_file }
  it { should be_mode 755 }
  it { should be_owned_by 'root' }
  its(:content) { should match /^enable_uart=1/ }
  its(:content) { should match /^hdmi_force_hotplug=1/ }
  its(:content) { should match /^start_x=0/ }
  its(:content) { should match /^gpu_mem=16/ }
end

Fix integrations tests for config.txt
Fix integrations tests for config.txt

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