Only run tmux specs if tmux is installed
This commit is contained in:
@@ -35,6 +35,7 @@ describe "Foreman::TmuxEngine", :fakefs do
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
if system("which tmux")
|
||||||
describe "start" do
|
describe "start" do
|
||||||
before do
|
before do
|
||||||
write_procfile
|
write_procfile
|
||||||
@@ -70,4 +71,5 @@ describe "Foreman::TmuxEngine", :fakefs do
|
|||||||
output.should =~ /bravo\.1.+\.\/bravo: No such file or directory/
|
output.should =~ /bravo\.1.+\.\/bravo: No such file or directory/
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user