Sha256: d29a22243c053af654cbe6bee7b76cf36e13581feac29b96212887129073b3d1
Contents?: true
Size: 407 Bytes
Versions: 12
Compression:
Stored size: 407 Bytes
Contents
require "spec_helper" describe <%= app.classify %>::Views::ApplicationLayout do let(:layout) { <%= app.classify %>::Views::ApplicationLayout.new(template, {}) } let(:rendered) { layout.render } let(:template) { Hanami::View::Template.new('apps/<%= app %>/templates/application.html.<%= template %>') } it 'contains application name' do rendered.must_include('<%= app.classify %>') end end
Version data entries
12 entries across 12 versions & 1 rubygems