Skip to content

Commit

Permalink
improve mocking
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Aug 30, 2023
1 parent ba9dc9b commit b5175a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/test/agama/dbus/manager_service_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
let(:config) { Agama::Config.new }
let(:logger) { Logger.new($stdout, level: :warn) }
let(:manager) { Agama::Manager.new(config, logger) }
let(:locale_service) { double(object: double(introspect: nil)) }
let(:locale_service) { double(object: double(introspect: nil, path: "test", "[]": {"UILocale" => "en"})) }
let(:bus) { instance_double(Agama::DBus::Bus, request_name: nil, service: locale_service) }
let(:bus_service) do
instance_double(::DBus::ObjectServer, export: nil)
Expand Down

0 comments on commit b5175a7

Please sign in to comment.