くりにっき

フルスタックキュアエンジニアです

2013-03-09から1日間の記事一覧

RSpecでstringの比較をする時はbe_includeではなくincludeを使った方がいい

仕事中にRSpecでちょっとした発見があったので忘れないうちにブログに残しておきます spec describe String do it "match with be_include" do "cure peace".should be_include "azatoi" end it "match with include" do "cure peace".should include "azato…