Sha256: 16ed2378f422c319f3d516b609ae803d77b5901e8ff0ba3256e9b0796ea04357
Contents?: true
Size: 485 Bytes
Versions: 3
Compression:
Stored size: 485 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Yardstick::Processor, '#process_string' do subject { described_class.new(config).process_string(string) } let(:config) { double('config') } let(:string) { double('string') } let(:documents) { double('document set') } it 'measures specified string' do Yardstick::Parser.should_receive(:parse_string).with(string) { documents } documents.should_receive(:measure).with(config) subject end end
Version data entries
3 entries across 3 versions & 1 rubygems