Sha256: 108c99da62d1bcf77efb5b80a3ed5b4ff026f68de7d40455ab573bf6f7153ddf
Contents?: true
Size: 428 Bytes
Versions: 15
Compression:
Stored size: 428 Bytes
Contents
#!/usr/bin/env rspec # frozen_string_literal: true require_relative "spec_helper" require "dbus" describe "Quit the service" do it "Tells the service to quit and waits, to collate coverage data" do session_bus = DBus::ASessionBus.new @svc = session_bus.service("org.ruby.service") @obj = @svc.object("/org/ruby/MyInstance") @obj.default_iface = "org.ruby.SampleInterface" @obj.quit sleep 3 end end
Version data entries
15 entries across 15 versions & 1 rubygems