This project is mirrored from https://github.com/camptocamp/puppet-postfix.git. Pull mirroring updated .
  1. 21 Dec, 2022 1 commit
  2. 20 Dec, 2022 1 commit
  3. 06 Dec, 2022 1 commit
  4. 04 Oct, 2022 1 commit
  5. 02 Oct, 2022 1 commit
  6. 29 Aug, 2022 1 commit
  7. 25 Jul, 2022 1 commit
  8. 28 Jun, 2022 1 commit
  9. 21 Jun, 2022 1 commit
  10. 20 Jun, 2022 2 commits
  11. 05 May, 2022 5 commits
  12. 28 Apr, 2022 1 commit
  13. 25 Apr, 2022 3 commits
  14. 12 Apr, 2022 1 commit
  15. 13 Mar, 2022 1 commit
  16. 09 Mar, 2022 1 commit
  17. 23 Feb, 2022 2 commits
  18. 11 Feb, 2022 1 commit
  19. 10 Feb, 2022 9 commits
  20. 19 Oct, 2021 4 commits
  21. 18 Oct, 2021 1 commit
    • Kenyon Ralph's avatar
      remove unneeded tests; provide error message for raise_error · f93a331a
      Kenyon Ralph authored
      Tests for wrong parameter data types aren't really needed since Puppet
      will do the type checking itself. These tests also caused warnings
      because they didn't provide specific error messages to the
      `raise_error` matcher.
      
      Also, provide error messages to the remaining `raise_error` matches
      that lacked error messages, to avoid warnings like this:
      
      WARNING: Using the `raise_error` matcher without providing a specific
      error or message risks false positives, since `raise_error` will match
      when Ruby raises a `NoMethodError`, `NameError` or `ArgumentError`,
      potentially allowing the expectation to pass without even executing
      the method you are intending to call. Actual error raised was
      a Resource Statement, Postfix::... expects a match for Enum['absent',
      'present'], got Tuple (line: 5) on node lithium.kenyonralph.com>.
      Instead consider provi ding a specific error class or message. This
      message can be suppressed by setting:
      `RSpec::Expectations.configuration.on_potential_false_positives =
      :nothing`. Called from /home/kenyon/git/
      puppet-postfix/spec/defines/postfix_virtual_spec.rb:88:in `block (5
      levels) in <top (required)>'.
      f93a331a