Sha256: 8047837c9ccd9e4356e73ee0c99fb3a75910d4e8a8a424c4462f03a2087f5f2e

Contents?: true

Size: 226 Bytes

Versions: 4

Compression:

Stored size: 226 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

describe 'easy_profiler' do
  it 'should pass block results outside' do
    easy_profiler('test') { 1 }.should == 1
    easy_profiler('test') { 'xxx' }.should == 'xxx'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
easy-prof-1.1.2 spec/easy_profiler_spec.rb
easy-prof-1.1.1 spec/easy_profiler_spec.rb
easy-prof-1.1.0 spec/easy_profiler_spec.rb
easy-prof-1.0.0 spec/easy_profiler_spec.rb