Sha256: 4e8c13ca21c6160b5477d11f8d253caeab83ea9fd5413777269c5360eeff2a85

Contents?: true

Size: 302 Bytes

Versions: 22

Compression:

Stored size: 302 Bytes

Contents

require 'libuv'

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

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
libuv-4.0.9 spec/timer_spec.rb
libuv-4.0.2 spec/timer_spec.rb
libuv-4.0.1 spec/timer_spec.rb
libuv-4.0.0 spec/timer_spec.rb
libuv-3.3.0 spec/timer_spec.rb
libuv-3.2.4 spec/timer_spec.rb
libuv-3.2.3 spec/timer_spec.rb
libuv-3.2.2 spec/timer_spec.rb
libuv-3.2.1 spec/timer_spec.rb
libuv-3.2.0 spec/timer_spec.rb
libuv-3.1.9 spec/timer_spec.rb
libuv-3.1.8 spec/timer_spec.rb
libuv-3.1.7 spec/timer_spec.rb
libuv-3.1.6 spec/timer_spec.rb
libuv-3.1.5 spec/timer_spec.rb
libuv-3.1.4 spec/timer_spec.rb
libuv-3.1.3 spec/timer_spec.rb
libuv-3.1.2 spec/timer_spec.rb
libuv-3.1.1 spec/timer_spec.rb
libuv-3.1.0 spec/timer_spec.rb