test/bus_driver_test.rb in ruby-dbus-0.6.0 vs test/bus_driver_test.rb in ruby-dbus-0.7.0
- old
+ new
@@ -7,10 +7,10 @@
puts msg if $DEBUG
end
class BusDriverTest < Test::Unit::TestCase
def setup
- @bus = DBus::SessionBus.instance
+ @bus = DBus::ASessionBus.new
@svc = @bus.service("org.ruby.service")
@svc.object("/").introspect
end
def test_exists