2012-10-04 RSpecでrender partialのテスト RSpec Rails describe 'GET "hoge"' do before do get :hoge end it { response.should render_template(partial: '_hoge') } end