2018-06-05
記事紹介
Dynamically setting default_url_options in Capybara
- Capybaraでdefault_url_options[:host]や[:port]を書き換える話
- xxx_pathを使うのであんまり問題になったこと無いな…
Good Things Come to Those Who Await
- async/awaitの話
- asyncのfunctionはPromiseを返すの知らなかった…
- asyncなfunctionの外側ではthen, catchが必要