Sha256: 99900c4987e5d05dab21cac11557089ad09b767ffa1d794671a77d1fce954d4c
Contents?: true
Size: 435 Bytes
Versions: 17
Compression:
Stored size: 435 Bytes
Contents
describe Hamlit::Engine do describe '.new' do subject { described_class.new(options) } let(:buffer) { '_a' } let(:options) do { buffer: buffer, generator: Temple::Generators::ArrayBuffer, ugly: true, } end it 'accepts generator valid options' do expect(subject.call('')).to eq( "#{buffer} = []; ; #{buffer} = #{buffer}.join", ) end end end
Version data entries
17 entries across 17 versions & 1 rubygems