Sha256: 48fe681430550265525abf58db8f69e687111ef009f4be878e4429a53fc809b9
Contents?: true
Size: 314 Bytes
Versions: 8
Compression:
Stored size: 314 Bytes
Contents
require 'spec_helper' describe Unparser, '.unparse' do subject { described_class.unparse(node) } let(:node) { mock('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