â æ¦è¦ 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
{{#tags}}- {{label}}
{{/tags}}