Sha256: 0890da84a0bbc86bc9c910dbd4d00875026760991a5adef61ae7497612b84a69
Contents?: true
Size: 477 Bytes
Versions: 1
Compression:
Stored size: 477 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Yardstick, '.measure' do describe 'with no arguments' do before :all do @measurements = Yardstick.measure end it_should_behave_like 'measured itself' end describe 'with a config' do before :all do config = Yardstick::Config.new(path: Yardstick::ROOT.join('lib', 'yardstick.rb')) @measurements = Yardstick.measure(config) end it_should_behave_like 'measured itself' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
yardstick-0.9.7 | spec/integration/yardstick/class_methods/measure_spec.rb |