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/reboot.rb,
lib/chefspec/api/script.rb,
lib/chefspec/api/execute.rb,
lib/chefspec/api/launchd.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/api/directory.rb,
lib/chefspec/api/apt_update.rb,
lib/chefspec/api/do_nothing.rb,
lib/chefspec/api/dsc_script.rb,
lib/chefspec/api/ruby_block.rb,
lib/chefspec/api/subversion.rb,
lib/chefspec/api/apt_package.rb,
lib/chefspec/api/bff_package.rb,
lib/chefspec/api/gem_package.rb,
lib/chefspec/api/ips_package.rb,
lib/chefspec/api/osx_profile.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/dsc_resource.rb,
lib/chefspec/api/http_request.rb,
lib/chefspec/api/registry_key.rb,
lib/chefspec/api/systemd_unit.rb,
lib/chefspec/api/cookbook_file.rb,
lib/chefspec/api/notifications.rb,
lib/chefspec/api/subscriptions.rb,
lib/chefspec/api/apt_repository.rb,
lib/chefspec/api/include_recipe.rb,
lib/chefspec/api/pacman_package.rb,
lib/chefspec/api/yum_repository.rb,
lib/chefspec/api/zypper_package.rb,
lib/chefspec/api/freebsd_package.rb,
lib/chefspec/api/openbsd_package.rb,
lib/chefspec/api/paludis_package.rb,
lib/chefspec/api/portage_package.rb,
lib/chefspec/api/smartos_package.rb,
lib/chefspec/api/solaris_package.rb,
lib/chefspec/api/windows_package.rb,
lib/chefspec/api/windows_service.rb,
lib/chefspec/api/homebrew_package.rb,
lib/chefspec/api/macports_package.rb,
lib/chefspec/api/remote_directory.rb,
lib/chefspec/api/powershell_script.rb,
lib/chefspec/api/chocolatey_package.rb,
lib/chefspec/api/easy_install_package.rb

Defined Under Namespace

Modules: AptPackageMatchers, AptRepositoryMatchers, AptUpdateMatchers, BatchMatchers, BffPackageMatchers, ChefGemMatchers, ChocolateyPackageMatchers, CookbookFileMatchers, CronMatchers, DeployMatchers, DirectoryMatchers, DoNothingMatchers, DpkgPackageMatchers, DscResourceMatchers, DscScriptMatchers, EasyInstallPackageMatchers, EnvMatchers, ErlCallMatchers, ExecuteMatchers, FileMatchers, FreebsdPackageMatchers, GemPackageMatchers, GitMatchers, GroupMatchers, HomebrewPackageMatchers, HttpRequestMatchers, IfconfigMatchers, IncludeRecipeMatchers, IpsPackageMatchers, LaunchdMatchers, LinkMatchers, LogMatchers, MacportsPackageMatchers, MdadmMatchers, MountMatchers, NotificationsMatchers, OhaiMatchers, OpenbsdPackageMatchers, OsxProfileMatchers, PackageMatchers, PacmanPackageMatchers, PaludisPackageMatchers, PortagePackageMatchers, PowershellScriptMatchers, RebootMatchers, RegistryKeyMatchers, RemoteDirectoryMatchers, RemoteFileMatchers, RenderFileMatchers, RouteMatchers, RpmPackageMatchers, RubyBlockMatchers, ScriptMatchers, ServiceMatchers, SmartosPackageMatchers, SolarisPackageMatchers, StateAttrsMatcher, SubscriptionsMatchers, SubversionMatchers, SystemdUnitMatchers, TemplateMatchers, UserMatchers, WindowsPackageMatchers, WindowsServiceMatchers, YumPackageMatchers, YumRepositoryMatchers, ZypperPackageMatchers

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



5
6
7
8
9
# File 'lib/chefspec/api.rb', line 5

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