瀏覽代碼

Fix tests to match changes from PR #20, add entry in .gitignore

master
Javier Bértoli 8 年之前
父節點
當前提交
196eeba135
共有 2 個文件被更改,包括 3 次插入1 次删除
  1. +1
    -0
      .gitignore
  2. +2
    -1
      test/integration/repositories/serverspec/repositories_spec.rb

+ 1
- 0
.gitignore 查看文件

@@ -1,2 +1,3 @@
*.swp
.kitchen
.kitchen.local.yml

+ 2
- 1
test/integration/repositories/serverspec/repositories_spec.rb 查看文件

@@ -7,7 +7,8 @@ describe 'apt.repositories' do
end

describe file('/etc/apt/sources.list') do
it { should_not exist }
it { should exist }
its(:size) { should eq 0 }
end

describe file('/etc/apt/sources.list.d') do

Loading…
取消
儲存