Sha256: ca4d4de148672086918e1c66fcce4b8a38d18be77fbc5ce6d84c637f476bde50
Contents?: true
Size: 501 Bytes
Versions: 1
Compression:
Stored size: 501 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Yardstick::Processor, '#process' do subject { described_class.new(config).process } let(:config) { double('config', path: path) } let(:path) { Pathname('foo/bar.rb') } let(:documents) { double('document set') } it 'measures files specified in the config' do Yardstick::Parser.should_receive(:parse_paths).with(['foo/bar.rb']) { documents } documents.should_receive(:measure).with(config) subject end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yardstick-0.9.7 | spec/unit/yardstick/processor/process_spec.rb |