Sha256: 84f1793171e8eda6cb8dc13cda7c75d66cc17ee5aa3ef59bd69f37157ede14e4
Contents?: true
Size: 383 Bytes
Versions: 17
Compression:
Stored size: 383 Bytes
Contents
require 'spec_helper' RSpec.describe 'filter rendering', type: :render do it 'raises error if invalid filter name is given' do expect { render_string(':filter with spaces') }.to raise_error(Faml::SyntaxError) end it 'raises error if unregistered filter name is given' do expect { render_string(':eagletmt') }.to raise_error(Faml::FilterCompilers::NotFound) end end
Version data entries
17 entries across 17 versions & 1 rubygems