spec/server_spec.rb in heel-0.5.0 vs spec/server_spec.rb in heel-0.6.0

- old
+ new

@@ -95,11 +95,11 @@ server.setup_heel_dir File.directory?(server.default_directory).should == true @stdout.string.should =~ /Created/m end - it "should not find a pid file" do + it "should send a signal to a pid" do server = Heel::Server.new(%w[--kil]) server.set_io(@stdin,@stdout) server.setup_heel_dir File.open(server.pid_file,"w+") { |f| f.write("-42") } @@ -109,6 +109,7 @@ rescue SystemExit => se se.status.should == 0 @stdout.string.should =~ /Sending TERM to process -42/m end end + end \ No newline at end of file