Sha256: 3563c87086ee94f0180993f3f4e794093fe49b71843ed2b64692690c11ace25f
Contents?: true
Size: 362 Bytes
Versions: 13
Compression:
Stored size: 362 Bytes
Contents
require 'spec_helper' describe Locomotive::Steam::Liquid::Tags::PageNotFound do let(:template) { '{% render_page_not_found %}' } let(:context) { ::Liquid::Context.new({}, {}, {}) } subject { render_template(template, context) } it 'raises an exception' do expect { subject }.to raise_error(Locomotive::Steam::PageNotFoundException) end end
Version data entries
13 entries across 13 versions & 1 rubygems