rspec unit tests broke, because type exists? now returns booleans instead of nil values

Bug #1340319 reported by David Gurtner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
puppet-ceph
Fix Released
Medium
David Gurtner

Bug Description

In the recent release 1.1.1 of puppet inifile type the exists? call has been changed to return booleans instead of nil / object:

https://forge.puppetlabs.com/puppetlabs/inifile#2014-07-07---release-111

The spec/unit/provider/ceph_config/ini_setting_spec.rb needs to be adapted to mirror this change.

David Gurtner (aldavud)
Changed in puppet-ceph:
importance: Undecided → Medium
assignee: nobody → David Gurtner (aldavud)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-ceph (master)

Reviewed: https://review.openstack.org/106118
Committed: https://git.openstack.org/cgit/stackforge/puppet-ceph/commit/?id=8e0346d0ee7b7f17bcc8c45302f5d3303d2868b5
Submitter: Jenkins
Branch: master

commit 8e0346d0ee7b7f17bcc8c45302f5d3303d2868b5
Author: David Gurtner <email address hidden>
Date: Thu Jul 10 19:38:16 2014 +0200

    Adapt tests to work with recently changed inifile

    In the recent release 1.1.1 of puppet inifile type the exists? call
    has been changed to return booleans instead of nil / object

    This changes the dependant unit test to mirror this change.

    Change-Id: I768948250b3269dffa766d05ddd03d2ea20bcdd3
    Closes-Bug: #1340319

Changed in puppet-ceph:
status: In Progress → Fix Committed
Changed in puppet-ceph:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.