2013-07-31から1日間の記事一覧
フレームワークはTest:Unit。 FunctionalTestは既知だったけどIntegrationTestは無知だった。 FunctionalTest @request.env['HTTP_REFERER'] = '/donuts/new' post :create, :donuts => { ... } assert_redirected_to 'donuts/new' IntegrationTest post :cr…
フレームワークはTest:Unit。 FunctionalTestは既知だったけどIntegrationTestは無知だった。 FunctionalTest @request.env['HTTP_REFERER'] = '/donuts/new' post :create, :donuts => { ... } assert_redirected_to 'donuts/new' IntegrationTest post :cr…