Sha256: 4821313de0a22c8fe24753b0d33d178ff0b3a5a3fc205c7d0e55fe551980f367

Contents?: true

Size: 422 Bytes

Versions: 41

Compression:

Stored size: 422 Bytes

Contents

# Cucumber 0.7 includes Rspec::Expectations
module RSpec
  module Expectations
    module ConstMissing
      def const_missing(name)
        name == :Rspec ? RSpec : super(name)
      end
    end

    def differ=(ignore)
      RSpec.deprecate("RSpec::Expectations.differ=(differ)", "nothing at all (diffing is now automatic and no longer configurable)")
    end
  end
end

Object.extend(RSpec::Expectations::ConstMissing)

Version data entries

41 entries across 41 versions & 4 rubygems

Version Path
messagebus_ruby_api-0.4.7 spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/expectations/backward_compatibility.rb
messagebus_ruby_api-0.4.4 spec/ruby/1.9.1/gems/rspec-expectations-2.5.0/lib/rspec/expectations/backward_compatibility.rb
rspec-expectations-2.5.0 lib/rspec/expectations/backward_compatibility.rb
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/backward_compatibility.rb
rspec-expectations-2.4.0 lib/rspec/expectations/backward_compatibility.rb
vim-jar-0.1.2 bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/backward_compatibility.rb
vim-jar-0.1.1 bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/backward_compatibility.rb
vim-jar-0.1.0 bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/backward_compatibility.rb
rspec-expectations-2.3.0 lib/rspec/expectations/backward_compatibility.rb
vim-jar-0.0.3 bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/backward_compatibility.rb
vim-jar-0.0.2 bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/backward_compatibility.rb
vim-jar-0.0.1 bundler/ruby/1.8/gems/rspec-expectations-2.1.0/lib/rspec/expectations/backward_compatibility.rb
rspec-expectations-2.2.0 lib/rspec/expectations/backward_compatibility.rb
rspec-expectations-2.1.0 lib/rspec/expectations/backward_compatibility.rb
rspec-expectations-2.0.1 lib/rspec/expectations/backward_compatibility.rb
gemrage-1.0.0 vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/backward_compatibility.rb
gemrage-0.4.1 vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/backward_compatibility.rb
gemrage-0.4.0 vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/backward_compatibility.rb
gemrage-0.3.2 vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/backward_compatibility.rb
gemrage-0.3.1 vendor/ruby/1.8/gems/rspec-expectations-2.0.0/lib/rspec/expectations/backward_compatibility.rb