Sha256: 9decfe2d3234827bb03a0f66235b1a1df255540c92d29b78da17d5bc42e4da26
Contents?: true
Size: 355 Bytes
Versions: 6
Compression:
Stored size: 355 Bytes
Contents
require 'spec_helper' describe UV::Async do let(:handle_name) { :async } let(:loop) { double() } let(:pointer) { double() } subject { UV::Async.new(loop, pointer) { |e| } } it_behaves_like 'a handle' describe "#call" do it "calls UV.async_send" do UV.should_receive(:async_send).with(pointer) subject.call end end end
Version data entries
6 entries across 6 versions & 1 rubygems