ãã¦ããã®Railsã¢ããªã±ã¼ã·ã§ã³ãJavaScript/Ajaxãå©ç¨ãã¦ãã¦ããspan#touchmeãã¯ãªãã¯ããããp#messageã®ä¸ã«åçã«ãHello!ãã¨ããããã¹ããç¾ãããã¨ããä»æ§ã§ãã£ãå ´åã¯ãã©ããã¹ãããã°ããã§ãããããåã«a#touchmeãspan#touchmeã«å¤ããã ãã§ã¯ã ãã§ããCapybaraã¯JavaScriptãç解ããªãã®ã§ããã¹ãã¯å¤±æãã¾ãã ããã§ç»å ´ããã®ãcapybara-webkitã¨ãããã©ã¤ãã§ããWebKitã¯ãªã¼ãã³ã½ã¼ã¹ã®HTMLã¬ã³ããªã³ã°ã¨ã³ã¸ã³ã§ãGoogle ChromeãSafariãããã使ã£ã¦ãã¾ãããã®ãã©ã¤ãã使ãã°JavaScriptã®ãã¹ããå¯è½ã«ãªãã¾ãã capybara-webkitãã¤ã³ã¹ãã¼ã«ããã«ã¯ãä¾ã«ãã£ã¦Gemfileã« gem "capybara-webkit" ã¨æ¸ã
{{#tags}}- {{label}}
{{/tags}}