module RSpec::Matchers
def be_close(expected, delta)
- use +be_within+ instead.
def be_close(expected, delta) RSpec.deprecate("be_close(#{expected}, #{delta})", :replacement => "be_within(#{delta}).of(#{expected})", :type => 'the be_close matcher' ) be_within(delta).of(expected) end