Expecta ref: http://qiita.com/naokits/items/2f1ec5f4e09832fda1c7