RSpec 0.7.0キタ
ボスはトランクがいいって言ったんですが、リリース版で一休みしたい、という方向で落ち着きました。
早めの準備のおかげで0.7.0を入れてもなんともなかったです*1。
http://rspec.rubyforge.org/upgrade.html
追記
いや controller spec スゴいっすよ。Isolation from the database とかって。マジスゴい。素敵すぎる。
http://rspec.rubyforge.org/documentation/rails/writing/controllers.html
account = mock("account") Account.should_receive(:find).with("37").and_return(account)
controller + view で functional test としているRailsビルトインのテストとのスタンスの違いが明確になってきたような。おもしろ。
追記2
"Isolation from the database."はこの仕組が下にあるんですね。これはかなりよいかもしれない。
http://rspec.rubyforge.org/documentation/mocks/partial_mocks.html
*1:これまでにいろいろあったけれども