Module: Spec::Matchers

Defined in:
lib/poolparty/spec/matchers/have_git.rb,
lib/poolparty/spec/matchers/have_cron.rb,
lib/poolparty/spec/matchers/have_exec.rb,
lib/poolparty/spec/matchers/have_file.rb,
lib/poolparty/spec/matchers/have_host.rb,
lib/poolparty/spec/matchers/have_mount.rb,
lib/poolparty/spec/matchers/have_sshkey.rb,
lib/poolparty/spec/matchers/have_package.rb,
lib/poolparty/spec/matchers/have_service.rb,
lib/poolparty/spec/matchers/have_symlink.rb,
lib/poolparty/spec/matchers/have_variable.rb,
lib/poolparty/spec/matchers/have_directory.rb,
lib/poolparty/spec/matchers/have_gempackage.rb,
lib/poolparty/spec/matchers/have_remotefile.rb,
lib/poolparty/spec/matchers/have_rsyncmirror.rb,
lib/poolparty/spec/matchers/a_spec_extensions_base.rb

Defined Under Namespace

Modules: SpecExtensions

Instance Method Summary collapse

Instance Method Details

#have_cron(name, extra = "") ⇒ Object



24
25
26
# File 'lib/poolparty/spec/matchers/have_cron.rb', line 24

def have_cron(name, extra="")
  SpecExtensions::HaveCron.new(name, extra)
end

#have_directory(name, extra = "") ⇒ Object



27
28
29
# File 'lib/poolparty/spec/matchers/have_directory.rb', line 27

def have_directory(name, extra="")
  SpecExtensions::HaveDirectory.new(name, extra)
end

#have_exec(name, extra = "") ⇒ Object



24
25
26
# File 'lib/poolparty/spec/matchers/have_exec.rb', line 24

def have_exec(name, extra="")
  SpecExtensions::HaveExec.new(name, extra)
end

#have_file(name, extra = "") ⇒ Object



24
25
26
# File 'lib/poolparty/spec/matchers/have_file.rb', line 24

def have_file(name, extra="")
  SpecExtensions::HaveFile.new(name, extra)
end

#have_gempackage(name, extra = "") ⇒ Object



24
25
26
# File 'lib/poolparty/spec/matchers/have_gempackage.rb', line 24

def have_gempackage(name, extra="")
  SpecExtensions::HaveGempackage.new(name, extra)
end

#have_git(name, extra = "") ⇒ Object



24
25
26
# File 'lib/poolparty/spec/matchers/have_git.rb', line 24

def have_git(name, extra="")
  SpecExtensions::HaveGit.new(name, extra)
end

#have_host(name, extra = "") ⇒ Object



24
25
26
# File 'lib/poolparty/spec/matchers/have_host.rb', line 24

def have_host(name, extra="")
  SpecExtensions::HaveHost.new(name, extra)
end

#have_mount(name, extra = "") ⇒ Object



24
25
26
# File 'lib/poolparty/spec/matchers/have_mount.rb', line 24

def have_mount(name, extra="")
  SpecExtensions::HaveMount.new(name, extra)
end

#have_package(name, extra = "") ⇒ Object



24
25
26
# File 'lib/poolparty/spec/matchers/have_package.rb', line 24

def have_package(name, extra="")
  SpecExtensions::HavePackage.new(name, extra)
end

#have_remotefile(name, extra = "") ⇒ Object



24
25
26
# File 'lib/poolparty/spec/matchers/have_remotefile.rb', line 24

def have_remotefile(name, extra="")
  SpecExtensions::HaveRemotefile.new(name, extra)
end

#have_rsyncmirror(name, extra = "") ⇒ Object



24
25
26
# File 'lib/poolparty/spec/matchers/have_rsyncmirror.rb', line 24

def have_rsyncmirror(name, extra="")
  SpecExtensions::HaveRsyncmirror.new(name, extra)
end

#have_service(name, extra = "") ⇒ Object



24
25
26
# File 'lib/poolparty/spec/matchers/have_service.rb', line 24

def have_service(name, extra="")
  SpecExtensions::HaveService.new(name, extra)
end

#have_sshkey(name, extra = "") ⇒ Object



24
25
26
# File 'lib/poolparty/spec/matchers/have_sshkey.rb', line 24

def have_sshkey(name, extra="")
  SpecExtensions::HaveSshkey.new(name, extra)
end


24
25
26
# File 'lib/poolparty/spec/matchers/have_symlink.rb', line 24

def have_symlink(name, extra="")
  SpecExtensions::HaveSymlink.new(name, extra)
end

#have_variable(name, extra = "") ⇒ Object



28
29
30
# File 'lib/poolparty/spec/matchers/have_variable.rb', line 28

def have_variable(name, extra="")
  SpecExtensions::HaveVariable.new(name, extra)
end