Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-4382

Test to retrieve version of latest of pkgng package is broken

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: PUP 4.1.0
    • Component/s: None
    • Labels:
      None
    • Template:
    • Story Points:
      1
    • Sprint:
      Client 2015-04-15

      Description

      When changing the rspec syntax from should syntax into expect().to syntax in spec/unit/provider/package/pkgng_spec.rb I discovered that one of the tests were broken. The code for the broken test was:

           it "should retrieve the correct version of the latest package" do
            provider.latest.should_not nil
          end

      It's missing == after should_not and when adding that (or when changing to expect syntax) the test fails. It's currently commented out.

        Attachments

          Issue Links

            Activity

              jsd-sla-details-panel

                People

                • Assignee:
                  qa qa
                  Reporter:
                  thomas.hallgren Thomas Hallgren
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: