end\r
end\r
context 'つつがなく終わるとき' do\r
- it 'モデルに取得依頼する' do\r
- Panel.stub(:show).with(any_args).and_return(@panel)\r
- Panel.should_receive(:show).exactly(1)\r
+ it 'モデルに編集取得依頼する' do\r
+ Panel.stub(:edit).with(any_args).and_return(@panel)\r
+ Panel.should_receive(:edit).exactly(1)\r
put :update, :id => @panel.id, :panel => @attr\r
end\r
it 'コマモデルに上書き補充を依頼している' do\r