ã¯ããã« 3æé ï¼ããRailsãRSpecã§Web APIã®ãã¹ãã§ããã£ãã¨ããâ ãã¨ããåå¿è 丸åºããªè¨äºãæ¸ãã¾ããï¼ ãããã9ã¶æã»ã©ï¼ãä»äºã¨ãã¦Railsã«è§¦ãããããããç¥è¦ã»ã¹ãã«ãåä¸ãã¦ããã¨æãã¾ãï¼ ããã¦ä»ï¼åè¿°ã®è¨äºãè¦ç´ããã¨ããæ¥ããããã¦é¡ãè¦ããããªãæãã«ãªã£ãã®ã§æ¹ãã¦Web APIã®ãã¹ãã«ã¤ãã¦æ¸ãã¦ããã¾ãï¼ APIã®ãã¹ãï¼ ããããWeb APIã®ãã¹ãã¯ã©ãã«æ¸ãã®ï¼ã£ã¦ã¨ããããã§ãã⦠Controller Specã§ã¯ãªãRequest Specã«æ¸ãã¦ããã¾ãï¼ Use RSpec Request Specs Since weâve established that weâll be using Rack::Test to drive the tests, RSpec request specs make the most s
{{#tags}}- {{label}}
{{/tags}}