Sha256: 78278285e2b1d4daa0846da6bafe16d1843fd99ae2bd907a0b367c7c5e94ba4d
Contents?: true
Size: 398 Bytes
Versions: 5
Compression:
Stored size: 398 Bytes
Contents
require 'spec/helper' describe "Nagoro::Listener::Base" do def base(string) nagoro = Nagoro::Template[:Base] nagoro.pipeline(string) end should 'not fail on backslash' do base('#{}').should == '#{}' end it 'should not stumble over HTML entities' do %w[gt lt quot amp nbsp uuml].each do |entity| str = "&#{entity};" base(str).should == str end end end
Version data entries
5 entries across 5 versions & 2 rubygems