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

Add unit tests for commit 5c9fd914

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: RAZOR 0.15.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Epic Link:
    • Sprint:
      June 4

      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

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

              Dates

              Created:
              Updated:
              Resolved:

                Zendesk Support