Uploaded image for project: 'Razor'
  1. Razor
  2. RAZOR-270

Add unit tests for commit 5c9fd914

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • RAZOR 0.15.0
    • None
    • None

    Description

      That commit was caused by the following two failures:

      >rzr nodes node17
      /home/lutter/code/razor-client/lib/razor/cli/format.rb:116:in `sort'
      /home/lutter/code/razor-client/lib/razor/cli/format.rb:116:in `additional_details'
      /home/lutter/code/razor-client/lib/razor/cli/format.rb:31:in `format_document'
      /home/lutter/code/razor-client/bin/razor:43:in `<main>'
      Error: comparison of String with nil failed
      Try 'razor --help' for more information
      

      and

      >rzr nodes node13 tags new rule
      /home/lutter/code/razor-client/lib/razor/cli/format.rb:105:in `display_fields'
      /home/lutter/code/razor-client/lib/razor/cli/format.rb:115:in `additional_detail
      s'
      /home/lutter/code/razor-client/lib/razor/cli/format.rb:31:in `format_document'
      /home/lutter/code/razor-client/bin/razor:43:in `<main>'
      Error: undefined method `keys' for "=":String
      Try 'razor --help' for more information
      

      Attachments

        Activity

          People

            scott.mcclellan Scott McClellan
            lutter David Lutterkort
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Zendesk Support