Sha256: 2014fcd0039d787235daa2f79849916d82a4d109ffc4f8cb56514c63e657a2de
Contents?: true
Size: 432 Bytes
Versions: 10
Compression:
Stored size: 432 Bytes
Contents
require 'itamae' module Itamae describe Resource::Package do let(:recipe) { double(:recipe) } subject(:resource) { described_class.new(recipe, "name") } describe "#install_action" do it "runs install command of specinfra" do subject.name :package_name expect(subject).to receive(:run_specinfra).with(:install_package, :package_name) subject.install_action end end end end
Version data entries
10 entries across 10 versions & 1 rubygems