diff options
author | Hans de Graaff <graaff@gentoo.org> | 2021-03-11 11:54:44 +0100 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2021-03-11 11:54:52 +0100 |
commit | 75a19a809a389573886d11e36318d8c49e8c3d23 (patch) | |
tree | dfdf3edad2bc316654e40126b316e2c9627ec182 | |
parent | dev-ruby/date_validator: update DESCRIPTION (diff) | |
download | gentoo-75a19a809a389573886d11e36318d8c49e8c3d23.tar.gz gentoo-75a19a809a389573886d11e36318d8c49e8c3d23.tar.bz2 gentoo-75a19a809a389573886d11e36318d8c49e8c3d23.zip |
dev-ruby/date_validator: fix tests
Closes: https://bugs.gentoo.org/775200
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Hans de Graaff <graaff@gentoo.org>
-rw-r--r-- | dev-ruby/date_validator/date_validator-0.10.0.ebuild | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev-ruby/date_validator/date_validator-0.10.0.ebuild b/dev-ruby/date_validator/date_validator-0.10.0.ebuild index 49cdadde31f4..8d4f4549e483 100644 --- a/dev-ruby/date_validator/date_validator-0.10.0.ebuild +++ b/dev-ruby/date_validator/date_validator-0.10.0.ebuild @@ -44,5 +44,5 @@ all_ruby_prepare() { sed -i \ -e '/[Bb]undler/s/^/#/' Rakefile || die # Fix tests - sed -i -e "1irequire 'active_support'" test/test_helper.rb || die + sed -i -e "1irequire 'active_support'; require 'active_support/core_ext/time/zones'" test/test_helper.rb || die } |