nodeã®ã¢ããªã±ã¼ã·ã§ã³ã«å¯¾ãããã¹ããmochaã§æ¸ãã¦ãã¦ãrailsã®ã¢ããªã±ã¼ã·ã§ã³ã«å¯¾ãããã¹ããrspecã ã¨ããæ¸ããã©ããã¯mochaã§ã¯ã©ãããã°ããã®ã ãããã¨ããã®ãå¹¾ã¤ããã£ãã®ã§æ¸ãçãã¦ããã¾ããä»å解説ã«ä½¿ãã³ã¼ãã¯å ¨ã¦githubã«ããã®ã§ããã¡ããåèã«ãã¦ä¸ããã ä»åãã¹ãã®å¯¾è±¡ã¨ãªãã¢ããªã±ã¼ã·ã§ã³ã¯ä»¥ä¸ã®æ§ãªãã®ã§ã: socket.ioã使ã£ã¦ã¦ã¼ã¶éã§ã¡ãã»ã¼ã¸ã®ããåããåºæ¥ã ã¦ã¼ã¶ã¯ãæåã«ãµã¼ãã«æ¥ç¶ããæ³ã«ã¦ã¼ã¶åãå«ãã jsonããµã¼ãã«éãããµã¼ãã¯ãã®jsonãåãåã£ãããã®ã¦ã¼ã¶åãredisã«æ¸ã ãã以éã¯ãã¦ã¼ã¶ã¯ã¦ã¼ã¶åã¨ã¡ãã»ã¼ã¸ãå«ãã jsonããµã¼ãã«éãããµã¼ãã¯ãã®jsonãåãåã£ããä»ã®å ¨ã¦ã®ã¦ã¼ã¶ã«ãã®jsonãéã ããã§ã¯æ©é解説ãã¦ããã¾ãã ãã¹ããã¡ã¤ã«ã®åå ãã¹ããå®è¡ããã®ã«ã¯ãmo
{{#tags}}- {{label}}
{{/tags}}