ã½ã·ãªã¡ãã£ã¢ãç¬èªã«æä¾ããUIãã¶ã¤ã³ãã¿ã¼ã³éãããã使ãã°UIè¨è¨ãå¹çåã§ãã¾ãã
â æ¦è¦ capybaraã¨webkit(ãã¶ãselenium)ãå©ç¨ããéã¯ãcapybaraå´ããã©ã¦ã¶ã¨ããã¨ãããçºã®ã¹ã¬ãããç«ã¡ä¸ããçº RSpec.configure do |config| ... config.use_transactional_fixtures = false end ãã¦fixtureã®ãã©ã³ã¶ã¯ã·ã§ã³å¶å¾¡ããããããå¿ è¦ãããã¾ããããã§ã¯å°ãé½åãæªãã®ã§ã DatabaseCleanerãå©ç¨ãã¦ä»£ç¨ããçè¡ãå¿ è¦ãããã¾ãã ã¨ãããrailsã³ã¢ãã¼ã ã®josevalimæ°ã解決çãã¼ãã£ã¨ã¤ã¶ããã¦ã¾ãããå®éã«ãã£ã¦ã¿ãã¨ä¸æãåãã ãã§ãªãå®è¡é度ãããªãæ¹åããã¾ããã â 解決ç ã¤ã¶ããã§ç´¹ä»ããã¦ããæ¹æ³ã¯é常ã«ç°¡åã§ãã spec_helper(test_helper.rb)ã§ä¸è¨ã®ç¨ã«è¿½è¨ãã¾ãããã RSpec.config
git commitãå®è¡ãã¨ã§ã³ããããããç´ããããã³ãããèªä½ãåãæ¶ãæ¹æ³ã§ãã ç´åã«ããã³ããããããç´ãï¼git commit --amendï¼ ç´åã«ããã³ããããããç´ãå ´åããgit commit --amendãã使ç¨ãã¾ãã ä¾ãã°ãç´åã®ã³ããããã°ã以ä¸ã®ãããªç¶æ ã ã£ãã¨ãã¾ãã å®ã¯ç´åã®ã³ãããã«å«ããã¹ãã§ãã£ããhoge.txtããå«ã¾ãã¦ãã¾ããã§ããã ã³ããããã°(git commit --amend å®è¡å) $ git log commit cca638b48b4c8be7ad5432f7882497534b04e2b4 Author: mrgoofy <[email protected]> Date: Wed Sep 8 23:03:57 2010 +0900 2nd Commit.-> New Add File : bar.txtã
Photo by Daniel Cukier ã³ã¼ãã£ã³ã°è»¢è·ãµã¤ãpaizaãéå¶ãã¦ããé¢ä¿ä¸ããWebãµã¼ãã¹ãä½ããããã©ãããã°ã©ãã³ã°è¨èªãã©ãããå¦ãã ããããï¼ãã¨ãã質åãããåãããã¨ãããã¾ããä»åã¯ããã°ã©ãè¦ç¹ã§ããã°ã©ãã³ã°ãå¦ã¶ã¨ãã«ã¤ã¾ãããããã¤ã³ãã¨ãããã°ã©ãã³ã°è¨èªã®åºç¤ãç°¡åã«æ¥½ããå¦ã¹ããµã¤ããã¾ã¨ãã¦ã¿ã¾ããã æè¿ã¯ãªã³ã©ã¤ã³ã§ããã°ã©ãã³ã°ãåå¼·ã§ããWebãµã¼ãã¹ãå¤æ°ç»å ´ãã¦ãã¦ããã®ã§ã以åããããã°ã©ã ãå¦ã¶ã³ã¹ãã¯ãã£ã¨ä¸ãã£ã¦ãã¾ãï¼ï¼ ç®æ¬¡ ã»ããã°ã©ãã³ã°è¨èªãå¦ã¶ã¨ãã«èºããã¤ã³ã ã»å¦ã¶è¨èªãé¸ã¶ã®ã«å½¹ç«ã¤ãµã¤ã ã»ããæ¸ãã¯ãããããããã°ã©ãã³ã°å¦ç¿ãµã¤ã ã»è¬ç¾©åã®ããã°ã©ãã³ã°å¦ç¿ãµã¤ã ã»å°ãã³ã¼ãã«æ £ãã¦ãã¦ãããå§ãã®ãµã¤ã ã»ããã«ã¹ãã«ã¢ããããã®ã«æé©ãªãµã¤ã ã»åºç¤ææ³ããã¹ã¿ã¼ããããªãï¼ãã¾ãï¼
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}