Sha256: 2c9fc0cf75a75dc6669aaa2f156546c554efe6d79e2b1cb0dbabeac8d9dbe92a
Contents?: true
Size: 508 Bytes
Versions: 5
Compression:
Stored size: 508 Bytes
Contents
#!/usr/bin/env rspec # frozen_string_literal: true require_relative "spec_helper" require "dbus" describe "DBus::Service (server role)" do let(:bus) { DBus::ASessionBus.new } # This is the client role, but the server role API is bad # and for the one test there is no difference let(:service) { bus["org.ruby.service"] } describe "#descendants_for" do it "raises for not existing path" do expect { service.descendants_for("/notthere") }.to raise_error(ArgumentError) end end end
Version data entries
5 entries across 5 versions & 1 rubygems