summaryrefslogtreecommitdiff
path: root/spec/support/matchers.rb
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2015-07-18 16:42:16 -0600
committerAndre Arko <andre@arko.net>2015-07-18 16:44:56 -0600
commit14a7eb25ee03c9fb4ecf3e4c6b1f44a8267a413a (patch)
tree080c4590629671f0bf0fc23225b9b4b5e5e16e95 /spec/support/matchers.rb
parent6537566d7179d3aee3451ece710cbe79ced95d4c (diff)
downloadbundler-14a7eb25ee03c9fb4ecf3e4c6b1f44a8267a413a.tar.gz
Fix Style/SpaceInsideBlockBraces
closes #3850
Diffstat (limited to 'spec/support/matchers.rb')
-rw-r--r--spec/support/matchers.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/matchers.rb b/spec/support/matchers.rb
index b4b18e7839..5d5e4a0572 100644
--- a/spec/support/matchers.rb
+++ b/spec/support/matchers.rb
@@ -4,13 +4,13 @@ module Spec
dep = Bundler::Dependency.new(*args)
match do |actual|
- actual.length == 1 && actual.all? { |d| d == dep }
+ actual.length == 1 && actual.all? {|d| d == dep }
end
end
RSpec::Matchers.define :have_gem do |*args|
match do |actual|
- actual.length == args.length && actual.all? { |a| args.include?(a.full_name) }
+ actual.length == args.length && actual.all? {|a| args.include?(a.full_name) }
end
end