summaryrefslogtreecommitdiff
path: root/spec/unit/util
Commit message (Collapse)AuthorAgeFilesLines
* mechanical conversion of debug to tracetm/inject_logThom May2018-03-161-0/+2
| | | | Signed-off-by: Thom May <thom@chef.io>
* Minor spec file cleanupminor_spec_cleanupTim Smith2017-01-242-2/+2
| | | | | | | | | | | | | - Use require_relative in all the specs vs. expanding on the current file path. - Add missing license headers - Don't silently swallow ipaddr_extensions not being installed. Make it a development dep instead - Remove a rescue on ipaddress as we only do this in one place and it's a required gem - Make the Openstack plugin spec setup the same way as every other spec Signed-off-by: Tim Smith <tsmith@chef.io>
* Style/StringLiterals fixes from rubocop 0.42.0Lamont Granquist2016-08-171-2/+2
| | | | Signed-off-by: Lamont Granquist <lamont@scriptkiddie.org>
* Add debug output to the which helperTim Smith2016-03-011-0/+1
|
* chefstyle catchup for ohaiLamont Granquist2016-02-112-45/+44
| | | | | there's still a few cops that are unaddressed by this change, so it won't be clean after merging this.
* Update e-mails and copyrightsTim Smith2016-01-131-1/+1
| | | | | | Opscode -> Chef Sofware Inc. and bring all copyrights to current. End the needed to keep editing these on every commit. Lets just get it over with.
* fixes #545Roland Moriz2015-05-251-4/+4
|
* Add an IpHelper utility moduleStafford Brunk2015-02-171-0/+128
|
* Convert specs to RSpec 3.1.7 syntax with TranspecClaire McQuin2014-10-301-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This conversion is done by Transpec 2.3.7 with the following command: transpec * 1156 conversions from: obj.should to: expect(obj).to * 928 conversions from: == expected to: eq(expected) * 551 conversions from: obj.stub(:message) to: allow(obj).to receive(:message) * 226 conversions from: obj.should_receive(:message) to: expect(obj).to receive(:message) * 65 conversions from: obj.should_not to: expect(obj).not_to * 19 conversions from: obj.should_not_receive(:message) to: expect(obj).not_to receive(:message) * 11 conversions from: lambda { }.should to: expect { }.to * 3 conversions from: Klass.any_instance.should_receive(:message) to: expect_any_instance_of(Klass).to receive(:message) * 3 conversions from: lambda { }.should_not to: expect { }.not_to * 3 conversions from: obj.stub_chain(:message1, :message2) to: allow(obj).to receive_message_chain(:message1, :message2) For more details: https://github.com/yujinakayama/transpec#supported-conversions
* Switch all `be_BOOL` to `be BOOL`danielsdeleo2014-06-091-1/+1
|
* OHAI-573: Only claim to be an LXC Host if we're pretty sure that we areBryan McLellan2014-05-151-0/+45