File: test_compile_error_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 (9 lines) | stat: -rw-r--r-- 249 bytes parent folder | download
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

require 'spec_helper'

describe 'test::compile_error' do
  it 'provides a useful message when compilation fails' do
    expect(subject).to compile.with_all_deps.and_raise_error(/Parameter managehome failed/)
  end
end