diff options
Diffstat (limited to 'dev-ruby/rspec-stubbed_env/rspec-stubbed_env-1.0.1.ebuild')
-rw-r--r-- | dev-ruby/rspec-stubbed_env/rspec-stubbed_env-1.0.1.ebuild | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dev-ruby/rspec-stubbed_env/rspec-stubbed_env-1.0.1.ebuild b/dev-ruby/rspec-stubbed_env/rspec-stubbed_env-1.0.1.ebuild index ea5e6eb33831..c324ee9636f3 100644 --- a/dev-ruby/rspec-stubbed_env/rspec-stubbed_env-1.0.1.ebuild +++ b/dev-ruby/rspec-stubbed_env/rspec-stubbed_env-1.0.1.ebuild @@ -22,8 +22,8 @@ KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" ruby_add_rdepend ">=dev-ruby/rspec-3.0" +ruby_add_bdepend "test? ( dev-ruby/rspec-block_is_expected )" + all_ruby_prepare() { - # Avoid spec depending on unpackaged block_is_expected - sed -i -e '/block_is_expected/ s:^:#:' spec/spec_helper.rb || die - sed -i -e '/describe "stubbing"/,/^ end/ s:^:#:' spec/rspec/stubbed_env/test_helpers_spec.rb || die + sed -i -e '/simplecov/ s:^:#:' spec/spec_helper.rb || die } |