diff options
-rw-r--r-- | dev-ruby/test_construct/test_construct-2.0.2-r1.ebuild | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/dev-ruby/test_construct/test_construct-2.0.2-r1.ebuild b/dev-ruby/test_construct/test_construct-2.0.2-r1.ebuild index ff54aa227ce8..95b415ce58ae 100644 --- a/dev-ruby/test_construct/test_construct-2.0.2-r1.ebuild +++ b/dev-ruby/test_construct/test_construct-2.0.2-r1.ebuild @@ -18,10 +18,12 @@ IUSE="" ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.0.8 - >=dev-ruby/mocha-0.14.0 + dev-ruby/mocha:1.0 dev-ruby/rspec:3 )" all_ruby_prepare() { sed -i -e '/bundler/ s:^:#:' Rakefile || die + + sed -i -e '1igem "mocha", "<2"' test/test_helper.rb || die } |