From db9df8fac5a841f47cca3519809b3802afa21bab Mon Sep 17 00:00:00 2001 From: Daniel Molina Date: Fri, 2 Sep 2011 16:59:34 +0200 Subject: [PATCH] feature #788: Change conf path --- src/authm_mad/remotes/quota/quota.rb | 2 +- src/authm_mad/remotes/quota/test/quota_spec.rb | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/authm_mad/remotes/quota/quota.rb b/src/authm_mad/remotes/quota/quota.rb index 19525804db..a32232ef83 100644 --- a/src/authm_mad/remotes/quota/quota.rb +++ b/src/authm_mad/remotes/quota/quota.rb @@ -32,7 +32,7 @@ class Quota ETC_LOCATION = ONE_LOCATION + "/etc" end - CONF_FILE = ETC_LOCATION + "/quota.conf" + CONF_FILE = ETC_LOCATION + "/auth/quota.conf" CONF = { :db => "sqlite://#{VAR_LOCATION}/onequota.db", diff --git a/src/authm_mad/remotes/quota/test/quota_spec.rb b/src/authm_mad/remotes/quota/test/quota_spec.rb index 893ac26d34..ff80f0c6c8 100644 --- a/src/authm_mad/remotes/quota/test/quota_spec.rb +++ b/src/authm_mad/remotes/quota/test/quota_spec.rb @@ -1,3 +1,5 @@ +$: << '.' + require 'helper/test_helper' describe "Quota testing" do