spec/cli/terminal_spec.rb in cumuli-0.3.2 vs spec/cli/terminal_spec.rb in cumuli-0.3.4
- old
+ new
@@ -10,9 +10,10 @@
ENV['GEM_HOME'].should == nil
end
end
+ # TODO: this generates lots of noise when it is killed
it "spawns a new thread that runs the command" do
preserving_env do
pid = fork do
Cumuli::CLI::Terminal.new('STRAWBOSSED=true').spawn
ENV['STRAWBOSSED'].should == true