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


40
41
42
43
44
45
# File 'lib/chefspec/deprecations.rb', line 40

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::ServerRunner" \
    " instead. More documentation can be found in the ChefSpec README."
  raise ChefSpec::Error::NoConversionError
end