Class: ChefSpec::Server

Inherits:
Object
  • Object
show all
Defined in:
lib/chefspec/deprecations.rb

Class Method Summary collapse

Class Method Details

.method_missing(m, *args, &block) ⇒ Object



35
36
37
38
39
40
# File 'lib/chefspec/deprecations.rb', line 35

def self.method_missing(m, *args, &block)
  deprecated "`ChefSpec::Server.#{m}' is deprecated. There is no longer" \
    " a global Chef Server instance. Please use a ChefSpec::SoloRunner" \
    " instead. More documentation can be found in the ChefSpec README."
  raise ChefSpec::Error::NoConversionError
end