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

Test to retrieve version of latest of pkgng package is broken

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Done
    • None
    • PUP 4.1.0
    • None
    • None
    • 1
    • 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

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support