Module: ChefSpec::API

Extended by:
API
Included in:
API
Defined in:
lib/chefspec/api.rb,
lib/chefspec/api/env.rb,
lib/chefspec/api/git.rb,
lib/chefspec/api/log.rb,
lib/chefspec/api/cron.rb,
lib/chefspec/api/file.rb,
lib/chefspec/api/link.rb,
lib/chefspec/api/ohai.rb,
lib/chefspec/api/user.rb,
lib/chefspec/api/batch.rb,
lib/chefspec/api/group.rb,
lib/chefspec/api/mdadm.rb,
lib/chefspec/api/mount.rb,
lib/chefspec/api/route.rb,
lib/chefspec/api/deploy.rb,
lib/chefspec/api/script.rb,
lib/chefspec/api/execute.rb,
lib/chefspec/api/package.rb,
lib/chefspec/api/service.rb,
lib/chefspec/api/chef_gem.rb,
lib/chefspec/api/erl_call.rb,
lib/chefspec/api/ifconfig.rb,
lib/chefspec/api/template.rb,
lib/chefspec/deprecations.rb,
lib/chefspec/deprecations.rb,
lib/chefspec/api/directory.rb,
lib/chefspec/api/ruby_block.rb,
lib/chefspec/api/subversion.rb,
lib/chefspec/api/apt_package.rb,
lib/chefspec/api/gem_package.rb,
lib/chefspec/api/ips_package.rb,
lib/chefspec/api/remote_file.rb,
lib/chefspec/api/render_file.rb,
lib/chefspec/api/rpm_package.rb,
lib/chefspec/api/state_attrs.rb,
lib/chefspec/api/yum_package.rb,
lib/chefspec/api/dpkg_package.rb,
lib/chefspec/api/http_request.rb,
lib/chefspec/api/registry_key.rb,
lib/chefspec/api/cookbook_file.rb,
lib/chefspec/api/notifications.rb,
lib/chefspec/api/include_recipe.rb,
lib/chefspec/api/pacman_package.rb,
lib/chefspec/api/freebsd_package.rb,
lib/chefspec/api/portage_package.rb,
lib/chefspec/api/smartos_package.rb,
lib/chefspec/api/solaris_package.rb,
lib/chefspec/api/macports_package.rb,
lib/chefspec/api/remote_directory.rb,
lib/chefspec/api/powershell_script.rb,
lib/chefspec/api/easy_install_package.rb

Defined Under Namespace

Modules: AptPackageMatchers, BatchMatchers, ChefGemMatchers, CookbookFileMatchers, CronMatchers, DeployMatchers, DeprecatedMatchers, DirectoryMatchers, DpkgPackageMatchers, EasyInstallPackageMatchers, EnvMatchers, ErlCallMatchers, ExecuteMatchers, FileMatchers, FreebsdPackageMatchers, GemPackageMatchers, GitMatchers, GroupMatchers, HttpRequestMatchers, IfconfigMatchers, IncludeRecipeMatchers, IpsPackageMatchers, LinkMatchers, LogMatchers, MacportsPackageMatchers, MdadmMatchers, MountMatchers, NotificationsMatchers, OhaiMatchers, PackageMatchers, PacmanPackageMatchers, PortagePackageMatchers, PowershellScriptMatchers, RegistryKeyMatchers, RemoteDirectoryMatchers, RemoteFileMatchers, RenderFileMatchers, RouteMatchers, RpmPackageMatchers, RubyBlockMatchers, ScriptMatchers, ServiceMatchers, SmartosPackageMatchers, SolarisPackageMatchers, StateAttrsMatcher, SubversionMatchers, TemplateMatchers, UserMatchers, YumPackageMatchers

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



7
8
9
10
11
# File 'lib/chefspec/api.rb', line 7

def self.included(base)
  submodules.each do |child|
    base.send(:include, child)
  end
end