Make sure files we add to the package actually show up in the resulting output
This commit is contained in:
parent
48200286c1
commit
60de482c2c
|
|
@ -14,6 +14,7 @@ describe FPM::Package::FreeBSD do
|
|||
Dir.mkdir(subject.staging_path("/usr"))
|
||||
Dir.mkdir(subject.staging_path("/usr/bin"))
|
||||
File.write(subject.staging_path("/usr/bin/example"), "testing")
|
||||
File.write(subject.staging_path("/usr/bin/hello"), "world")
|
||||
subject.output(package)
|
||||
end
|
||||
|
||||
|
|
@ -37,6 +38,11 @@ describe FPM::Package::FreeBSD do
|
|||
insist { path }.start_with?("/")
|
||||
end
|
||||
end
|
||||
|
||||
it "should contain expected files" do
|
||||
insist { files }.include?("/usr/bin/example")
|
||||
insist { files }.include?("/usr/bin/hello")
|
||||
end
|
||||
end
|
||||
|
||||
context "+MANIFEST" do
|
||||
|
|
|
|||
Loading…
Reference in New Issue