25. Guard Rspec + Spork による自動テスト
Spork でテストを素早く実行できる よ う設定し ます(2/4)
ます
spec_helper.rb を編集しろ、と言われるので言われるままに編集
tent:text 01 Spork.prefork do
02 # Loading more in this block will cause your tests to run
mo/spec/spec_helyou change any configuration or code from libraries l
03 # if
spec/spec_helper to restart spork for it take effect.
04 # need
05
06 !! ここいら辺にすべてのコードをぶちこむ !!
07 end
08
rb/intro_guard_r
09 Spork.each_run do
10 # This code will be run each time you run your specs.
11
12 end
/minamirb/intro_
KOZAKI Tsuneaki Slippy on github
Blog Forever Undecided Twitter @koko_u