Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
したがって、Rails 3.0.9アプリでは、1.9.2でSpork / Guard / RSpec/FactoryGirlを使用しています。
Spork/Guardに工場とロケールを自動的に更新させる方法を知りたいのですが。
ロケールについては、I18n.reload!のSporkのeach_runセクションに入れるだけspec/spec_helper.rbです。動作するはずです。
I18n.reload!
each_run
spec/spec_helper.rb
あなたのGemfileで
gem "factory_girl_rails", :require => false
そしてspec/spec_helper.rbで
Spork.each_run do require 'factory_girl_rails' end
それはうまくいくはずです
I have android AsynTask method that call the Web Service which returns the List<> as shown below:
[[1,"Test",37.334542,-121.890821,-121.890821], [2,"XYZ",37.337749,-121.88