Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(QENG-1906) Add spec tests for Janitor #78

Merged
merged 1 commit into from
Mar 31, 2015

Conversation

colinPL
Copy link
Contributor

@colinPL colinPL commented Mar 30, 2015

This adds tests for Janitor, verifying it deletes stale VMs.

NOTE: THIS IS DEPENDENT ON PR #77

@@ -0,0 +1,72 @@
require 'rspec'
require 'vmpooler'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should require 'spec_helper' here instead

@colinPL colinPL force-pushed the qeng_1906_janitor branch from 0efed65 to 008d0e4 Compare March 30, 2015 20:01
Add spec tests to verify Janitor deletes stale vms correctly. This
required a small refactor of Janitor to move the logic out of the for
loop.
@colinPL colinPL force-pushed the qeng_1906_janitor branch from 008d0e4 to d0275f5 Compare March 31, 2015 17:22
@sschneid
Copy link
Contributor

👍

sschneid added a commit that referenced this pull request Mar 31, 2015
(QENG-1906) Add spec tests for Janitor
@sschneid sschneid merged commit 8facda4 into puppetlabs:master Mar 31, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants