diff options
author | wycats <wycats@gmail.com> | 2010-07-01 01:38:33 -0700 |
---|---|---|
committer | wycats <wycats@gmail.com> | 2010-07-01 01:38:33 -0700 |
commit | b04d92374e804b0d346b818e08ce8f0226c5b0a0 (patch) | |
tree | a205b67d579d3c0c56c8ad146c6cc5d88fb7cb0b /spec/support/matchers.rb | |
parent | e38a088289f66cc93a0d6d3b4c5d369517b1fc88 (diff) | |
download | bundler-b04d92374e804b0d346b818e08ce8f0226c5b0a0.tar.gz |
By default, do not expand submodules
Diffstat (limited to 'spec/support/matchers.rb')
-rw-r--r-- | spec/support/matchers.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb index ab2e74e1db..19c9b0f197 100644 --- a/spec/support/matchers.rb +++ b/spec/support/matchers.rb @@ -43,10 +43,10 @@ module Spec def should_not_be_installed(*names) opts = names.last.is_a?(Hash) ? names.pop : {} - groups = opts[:groups] || [] + groups = Array(opts[:groups]) || [] names.each do |name| name, version = name.split(/\s+/) - run <<-R, *groups + run <<-R, *(groups + [opts]) begin require '#{name}' puts #{Spec::Builders.constantize(name)} |