Sha256: 3d416eb21201d217f449beb8f54a26e9733a8f882c5aab95d7e381f3f8409cae
Contents?: true
Size: 363 Bytes
Versions: 3
Compression:
Stored size: 363 Bytes
Contents
require 'rubygems' require 'active_record' require File.join(File.dirname(__FILE__), "../lib/easy_prof") def mock_profile_start(name, options = {}) config = EasyProfiler.configuration.merge(options) profiler = double('MockProfiler', :name => name, :config => config) EasyProfiler::Profile.send(:class_variable_get, :@@profile_results)[name] = profiler end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
easy-prof-1.1.2 | spec/spec_helper.rb |
easy-prof-1.1.1 | spec/spec_helper.rb |
easy-prof-1.1.0 | spec/spec_helper.rb |