Sha256: 150b59f6e113831d97b5458a7e95e97f5901b57b9ee95cc3d2f1a91f2935bde8

Contents?: true

Size: 290 Bytes

Versions: 4

Compression:

Stored size: 290 Bytes

Contents

require 'libuv'

describe Libuv::Timer do
	describe 'setting properties' do
		it "should allow repeat to be set" do
      @loop = Libuv::Loop.new
			@loop.run { |logger|
        @timer = @loop.timer
        @timer.repeat = 5
        expect(@timer.repeat).to eq(5)
      }
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
libuv-2.0.12 spec/timer_spec.rb
libuv-2.0.11 spec/timer_spec.rb
libuv-2.0.10 spec/timer_spec.rb
libuv-2.0.9 spec/timer_spec.rb