2006-08-08から1日間の記事一覧
RailsによるアジャイルWebアプリケーション開発の中のモデルのテストのところで def test_destroy @product.destroy assert_raise(ActiveRecord::RecordNotFound) { Product.find(@product.id) } end を実行するところでエラーになった。 The problem is tha…
RailsによるアジャイルWebアプリケーション開発の中のモデルのテストのところで def test_destroy @product.destroy assert_raise(ActiveRecord::RecordNotFound) { Product.find(@product.id) } end を実行するところでエラーになった。 The problem is tha…