Sha256: dbecd935834612c79800d95cc2376c2094dbbb254d2add999f8f99fca456469c
Contents?: true
Size: 316 Bytes
Versions: 8
Compression:
Stored size: 316 Bytes
Contents
require 'spec_helper' describe Unparser, '.unparse' do subject { described_class.unparse(node) } let(:node) { double('Node') } before do described_class::Emitter.should_receive(:visit) do |node, buffer| node.should be(node) buffer.append('foo') end end it { should eql('foo') } end
Version data entries
8 entries across 8 versions & 1 rubygems