test/angelo_spec.rb in angelo-0.3.2 vs test/angelo_spec.rb in angelo-0.3.3

- old
+ new

@@ -89,10 +89,10 @@ r.status.must_equal 404 end it 'does not crash when receiving invalid uri' do s = TCPSocket.new Angelo::DEFAULT_ADDR, Angelo::DEFAULT_PORT - s.write 'GET /?file=<SCRIPT>window.alert</SCRIPT>' + "\n\n" + s.write 'GET /?file=<SCRIPT>window.alert&*(#%)(^&*</SCRIPT>' + "\n\n" r = s.read s.close assert @server.alive? r.must_match /400 Bad Request/ end