we're not chdiring any more
This commit is contained in:
1 parent
a37a097f73
commit
ce6ec4848d
1 file changed
-5
@@ -39,11 +39,6 @@ describe Foreman::Process do
|
|||||||
end
|
end
|
||||||
|
|
||||||
context 'options' do
|
context 'options' do
|
||||||
it 'should change to basedir' do
|
|
||||||
mock(Dir).chdir basedir
|
|
||||||
run
|
|
||||||
end
|
|
||||||
|
|
||||||
it 'should set PORT for environment' do
|
it 'should set PORT for environment' do
|
||||||
mock(subject).run_process(command, pipe) do
|
mock(subject).run_process(command, pipe) do
|
||||||
ENV['PORT'].should == port.to_s
|
ENV['PORT'].should == port.to_s
|
||||||
|
|||||||
Reference in new issue
Block a user