class RSpec::Expectations::Configuration

def add_should_and_should_not_to(*modules)

Parameters:
  • modules (Array) -- the list of classes or modules
def add_should_and_should_not_to(*modules)
  modules.each do |mod|
    Expectations::Syntax.enable_should(mod)
  end
end