Sha256: c4f847130ff7976934781ea3ba8977d43abb1073c0216dc6a436c0037a182afd
Contents?: true
Size: 361 Bytes
Versions: 10
Compression:
Stored size: 361 Bytes
Contents
require 'spec_helper' describe Mulder::Formats::Human do describe '#output' do it 'calls ap with the correct stuff' do mocked_instances = mock(collect: [{ foo: :bar }]) formatter = described_class.new(mocked_instances) formatter.expects(:ap).with([{ foo: :bar }], { index: false, sort: true }) formatter.output end end end
Version data entries
10 entries across 10 versions & 1 rubygems