Sha256: 8c194c018f242510b7cc9bdcd8127327bd8d0e34176faecbddd8423f26787988

Contents?: true

Size: 258 Bytes

Versions: 209

Compression:

Stored size: 258 Bytes

Contents

module RSpec
  module Matchers
    # @deprecated use +be_within+ instead.
    def be_close(expected, delta)
      RSpec.deprecate("be_close(#{expected}, #{delta})", "be_within(#{delta}).of(#{expected})")
      be_within(delta).of(expected)
    end
  end
end

Version data entries

209 entries across 108 versions & 19 rubygems

Version Path
classiccms-0.7.0 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/be_close.rb
classiccms-0.7.0 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/be_close.rb
classiccms-0.7.0 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/be_close.rb
sidekiq-statsd-0.1.1 vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/be_close.rb
sidekiq-statsd-0.1.0 vendor/ruby/1.9.1/gems/rspec-expectations-2.13.0/lib/rspec/matchers/be_close.rb
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/rspec-expectations-2.12.1/lib/rspec/matchers/be_close.rb
vagrant-actionio-0.0.9 vendor/bundle/gems/rspec-expectations-2.13.0/lib/rspec/matchers/be_close.rb
rspec-expectations-2.13.0 lib/rspec/matchers/be_close.rb
remq-0.0.4 vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/be_close.rb
remq-0.0.3 vendor/bundle/gems/rspec-expectations-2.12.1/lib/rspec/matchers/be_close.rb
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/rspec-expectations-2.12.1/lib/rspec/matchers/be_close.rb
sunrise-cms-0.5.0.rc1 vendor/bundle/ruby/1.9.1/gems/rspec-expectations-2.10.0/lib/rspec/matchers/be_close.rb
classiccms-0.6.9 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/be_close.rb
classiccms-0.6.9 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/be_close.rb
classiccms-0.6.9 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/be_close.rb
rspec-expectations-2.12.1 lib/rspec/matchers/be_close.rb
rspec-expectations-2.12.0 lib/rspec/matchers/be_close.rb
classiccms-0.6.8 vendor/bundle/gems/rspec-expectations-2.9.1/lib/rspec/matchers/be_close.rb
classiccms-0.6.8 vendor/bundle/gems/rspec-expectations-2.10.0/lib/rspec/matchers/be_close.rb
classiccms-0.6.8 vendor/bundle/gems/rspec-expectations-2.9.0/lib/rspec/matchers/be_close.rb