14 lines
240 B
Ruby
14 lines
240 B
Ruby
|
require 'net/http'
|
||
|
require 'uri'
|
||
|
|
||
|
require 'serverspec'
|
||
|
set :backend, :exec
|
||
|
|
||
|
describe file('/etc/.git/config') do
|
||
|
it { should be_file }
|
||
|
end
|
||
|
|
||
|
describe command("cd /git && git status --porcelain") do
|
||
|
its(:stdout) { should be_empty }
|
||
|
end
|