lib/rspec/expectations/syntax.rb in rspec-expectations-3.8.5 vs lib/rspec/expectations/syntax.rb in rspec-expectations-3.8.6
- old
+ new
@@ -68,10 +68,10 @@
def enable_expect(syntax_host=::RSpec::Matchers)
return if expect_enabled?(syntax_host)
syntax_host.module_exec do
def expect(value=::RSpec::Expectations::ExpectationTarget::UndefinedValue, &block)
- ::RSpec::Expectations::ExpectationTarget.for(value, &block)
+ ::RSpec::Expectations::ExpectationTarget.for(value, block)
end
end
end
# @api private