Sha256: d481de64e1924922fffb204faa23d25f3f94496250818ed99cffdf981c5f7e19

Contents?: true

Size: 508 Bytes

Versions: 21

Compression:

Stored size: 508 Bytes

Contents

require 'test_helper'

module Vedeu

  module Logging

    describe ClockTime do

      describe '.clock_time' do
        subject { Vedeu.clock_time }

        context 'when Process::CLOCK_MONOTONIC is defined' do
          it { subject.must_be_instance_of(Float) }
        end

        # context 'when Process::CLOCK_MONOTONIC is not defined' do
        #   it { subject.must_be_instance_of(Time) }
        # end

        # @todo Add more tests.
      end

    end # ClockTime

  end # Logging

end # Vedeu

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
vedeu-0.8.0 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.7.4 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.7.3 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.7.2 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.7.1 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.7.0 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.6.71 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.6.70 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.6.69 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.6.68 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.6.67 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.6.66 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.6.65 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.6.64 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.6.63 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.6.62 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.6.61 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.6.60 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.6.59 test/lib/vedeu/logging/clock_time_test.rb
vedeu-0.6.58 test/lib/vedeu/logging/clock_time_test.rb