Sha256: ab64098bab0bc547338b93ce11bd8ae94695c61de08f98f5e9d31401a6d983a7
Contents?: true
Size: 475 Bytes
Versions: 6
Compression:
Stored size: 475 Bytes
Contents
require 'spec_helper' describe ViewTypesController do render_views describe 'supported view types' do after :each do expect(response).to be_success end it 'allows to use the section helper in ERB views' do get :erb expect(response.body.strip).to eql 'Foo partial content' end it 'allows to use the section helper in HAML views' do get :haml expect(response.body.strip).to eql 'Foo partial content' end end end
Version data entries
6 entries across 6 versions & 1 rubygems