Sha256: 8adb5a1e53c9bc7415d7f1948cdb00d473502ea326fccc58bf13ee135c8a9e6d

Contents?: true

Size: 231 Bytes

Versions: 15

Compression:

Stored size: 231 Bytes

Contents

class RailsOps::ProfilerTest < ActiveSupport::TestCase
  include TestHelper

  def test_time
    assert_output(/Test - 1\d\.\dms elapsed./) do
      RailsOps::Profiler.time 'Test' do
        sleep 0.010
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
rails_ops-1.7.0 test/unit/rails_ops/profiler_test.rb
rails_ops-1.6.0 test/unit/rails_ops/profiler_test.rb
rails_ops-1.6.0.rc1 test/unit/rails_ops/profiler_test.rb
rails_ops-1.6.0.rc0 test/unit/rails_ops/profiler_test.rb
rails_ops-1.5.8 test/unit/rails_ops/profiler_test.rb
rails_ops-1.5.7 test/unit/rails_ops/profiler_test.rb
rails_ops-1.5.6 test/unit/rails_ops/profiler_test.rb
rails_ops-1.5.5 test/unit/rails_ops/profiler_test.rb
rails_ops-1.5.4 test/unit/rails_ops/profiler_test.rb
rails_ops-1.5.0 test/unit/rails_ops/profiler_test.rb
rails_ops-1.4.8 test/unit/rails_ops/profiler_test.rb
rails_ops-1.4.7 test/unit/rails_ops/profiler_test.rb
rails_ops-1.4.6 test/unit/rails_ops/profiler_test.rb
rails_ops-1.4.5 test/unit/rails_ops/profiler_test.rb
rails_ops-1.4.4 test/unit/rails_ops/profiler_test.rb