@@ -50,6 +50,7 @@ class TeamocilTest(TestCase):
5050 {
5151 'window_name' : 'sample-two-panes' ,
5252 'layout' : 'even-horizontal' ,
53+ 'start_directory' : '~/Code/sample/www' ,
5354 'panes' : [
5455 {
5556 'shell_command' : [
@@ -124,6 +125,7 @@ class Teamocil2Test(TestCase):
124125 {
125126 'window_name' : 'sample-four-panes' ,
126127 'layout' : 'tiled' ,
128+ 'start_directory' : '~/Code/sample/www' ,
127129 'panes' : [
128130 {
129131 'shell_command' : 'pwd'
@@ -206,6 +208,7 @@ class Teamocil3Test(TestCase):
206208 {
207209 'window_name' : 'my-first-window' ,
208210 'layout' : 'even-vertical' ,
211+ 'start_directory' : "~/Projects/foo-www" ,
209212 'shell_command_before' : 'rbenv local 2.0.0-p0' ,
210213 'shell_command_after' : 'echo \' I am done initializing this pane.\' ' ,
211214 'panes' : [
@@ -272,6 +275,7 @@ class Teamocil4Test(TestCase):
272275 'windows' : [
273276 {
274277 'window_name' : 'erb-example' ,
278+ 'start_directory' : "<%= ENV['MY_PROJECT_ROOT'] %>" ,
275279 'panes' : [
276280 {
277281 'shell_command' : 'pwd'
@@ -530,6 +534,7 @@ class TeamocilLayoutsTest(TestCase):
530534 'windows' : [
531535 {
532536 'window_name' : 'foo' ,
537+ 'start_directory' : '/foo' ,
533538 'clear' : True ,
534539 'layout' : 'tiled' ,
535540 'panes' : [
@@ -543,6 +548,7 @@ class TeamocilLayoutsTest(TestCase):
543548 },
544549 {
545550 'window_name' : 'bar' ,
551+ 'start_directory' : '/bar' ,
546552 'panes' : [
547553 {
548554 'shell_command' : [
@@ -566,6 +572,7 @@ class TeamocilLayoutsTest(TestCase):
566572 'windows' : [
567573 {
568574 'window_name' : 'foo' ,
575+ 'start_directory' : '/foo' ,
569576 'shell_command_before' : [
570577 'echo first before filter' ,
571578 'echo second before filter' ,
@@ -592,6 +599,7 @@ class TeamocilLayoutsTest(TestCase):
592599 'windows' : [
593600 {
594601 'window_name' : 'foo' ,
602+ 'start_directory' : '/foo' ,
595603 'clear' : True ,
596604 'layout' : 'tiled' ,
597605 'panes' : [
@@ -605,6 +613,7 @@ class TeamocilLayoutsTest(TestCase):
605613 },
606614 {
607615 'window_name' : 'bar' ,
616+ 'start_directory' : '/bar' ,
608617 'panes' : [
609618 {
610619 'shell_command' : [
0 commit comments