Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix warning in matchers/dsl.rb

lib/rspec/matchers/dsl.rb:10: warning: `*' interpreted as argument prefix
  • Loading branch information...
commit 9b8aeb9169e50270cb0a0d7f77c0a70dab143262 1 parent 119e018
@exviva exviva authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/rspec/matchers/dsl.rb
View
2  lib/rspec/matchers/dsl.rb
@@ -7,7 +7,7 @@ def define(name, &declarations)
matcher = RSpec::Matchers::Matcher.new(name, &declarations)
define_method name do |*expected|
$matcher_execution_context = self
- matcher.for_expected *expected
+ matcher.for_expected(*expected)
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.