Sha256: 4de044b680a68cfed46948928d99c3d2d527a09d636d408094b9e53d5f73cf9c

Contents?: true

Size: 323 Bytes

Versions: 7

Compression:

Stored size: 323 Bytes

Contents

require 'spec_helper'

describe Helpers::Measuring do
  include Helpers::Measuring

  describe "#timed" do
    it "should return some duration" do
      timed { 1 + 3 }.should_not be_nil
    end
  end

  describe "#log_performance" do
    it "should log" do
      log_performance('hello') { 10000*10000 }
    end
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
picky-0.0.8 spec/lib/helpers/measuring_spec.rb
picky-0.0.7 spec/lib/helpers/measuring_spec.rb
picky-0.0.6 spec/lib/helpers/measuring_spec.rb
picky-0.0.5 spec/lib/helpers/measuring_spec.rb
picky-0.0.4 spec/lib/helpers/measuring_spec.rb
picky-0.0.3 spec/lib/helpers/measuring_spec.rb
picky-0.0.2 spec/lib/helpers/measuring_spec.rb