Included Modules

Class Index [+]

Quicksearch

RSpec::Core::MetadataHashBuilder::WithDeprecationWarning

@private

Private Instance Methods

symbol_metadata_warning(symbols) click to toggle source
    # File lib/rspec/core/metadata_hash_builder.rb, line 69
69:           def symbol_metadata_warning(symbols)
70:             *****************************************************************DEPRECATION WARNING: you are using deprecated behaviour that willbe removed from RSpec 3.You have passed symbols (#{symbols.inspect}) as additionalarguments for a doc string.In RSpec 3, these symbols will be treated as metadata keys witha value of `true`.  To get this behavior now (and prevent thiswarning), you can set a configuration option:RSpec.configure do |c|  c.treat_symbols_as_metadata_keys_with_true_values = trueendAlternately, if your intention is to use the symbol as part of thedoc string (i.e. to specify a method name), you can change it toa string such as "#method_name" to remove this warning.*****************************************************************
71:           end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.