Sha256: 1a9ee6cc4d102e05cf271fcefbc6e47ee9773405d0cf8faf6cadea4290686d7e
Contents?: true
Size: 430 Bytes
Versions: 24
Compression:
Stored size: 430 Bytes
Contents
require 'helper' begin require 'ripper' rescue LoadError end if defined?(Ripper) && RUBY_VERSION >= "2.0.0" describe Temple::Filters::StringSplitter do before do @filter = Temple::Filters::StringSplitter.new end it 'should split :dynamic with string literal' do @filter.call([:dynamic, '"static#{dynamic}"'] ).should.equal [:multi, [:static, 'static'], [:dynamic, 'dynamic']] end end end
Version data entries
24 entries across 24 versions & 2 rubygems