From f9bb159674c4eb25f99550fa8594fcbf97ed8cae Mon Sep 17 00:00:00 2001 From: Kouhei Sutou Date: Mon, 30 Jan 2017 23:09:31 +0900 Subject: [PATCH] gio2 test: fix path GitHub: fix #990 Reported by Mamoru TASAKA. Thanks!!! --- gio2/test/test-settings.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gio2/test/test-settings.rb b/gio2/test/test-settings.rb index b16341c84..5a287f1e9 100644 --- a/gio2/test/test-settings.rb +++ b/gio2/test/test-settings.rb @@ -108,7 +108,10 @@ def need_keyfile_settings_backend need_keyfile_settings_backend keyfile = Tempfile.new(["settings", ".ini"]) backend = Gio::keyfile_settings_backend_new(keyfile.path, "/", "keyfile_settings") - schema_source = Gio::SettingsSchemaSource.new(fixture_path("schema"), nil, true) + schema_dir = fixture_path("schema", "default") + schema_source = Gio::SettingsSchemaSource.new(schema_dir, + nil, + true) schema = schema_source.lookup("jp.ruby-gnome2.test.settings", true) settings = Gio::Settings.new(schema, backend,