File: cleanup_spec.rb

package info (click to toggle)
ruby-rspec-puppet 4.0.2%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,444 kB
  • sloc: ruby: 6,377; makefile: 6
file content (13 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'spec_helper'

describe '#rspec_puppet_cleanup' do
  it { expect(respond_to?(:rspec_puppet_cleanup)).to be true }

  it 'wipes @catalogue' do
    @catalogue = Object.new
    rspec_puppet_cleanup
    expect(@catalogue).to be_nil
  end
end