-
Notifications
You must be signed in to change notification settings - Fork 328
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
(#10846) add spec tests for ntp class #6
Conversation
Is it just me - or are you writing squashed code these days? :-). Where are the carriage returns that separate the parts? I'm just having trouble reading it mate :-). |
end | ||
end | ||
(redhatish + debianish).each do |os| | ||
describe "for opreating system #{os}" do |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
Can you add a rake file? :-) ... the one from puppetlabs-firewall is quite good and it gives me 'specs' (which is great for running rvm specs). Besides the squashiness and the typo this is pretty good. Or at least as they say - 'better then having no tests' ;-). |
I updated the commit in response to your comments |
I haven't looked deeply into this I must admit, but I tried running:
And:
And got:
Is this just a modulepath thing? Sorry I'm quite brain-dead today :-). I guess either way 'rake spec' should just work - at least that would be the expectation. |
This commit adds some unit tests for the ntp class. Also adds a rakefile for running the spec tests
Did you create the symlink from puppetlabs-ntp -> ntp ? It looks like a modulepath thing |
(#10846) add spec tests for ntp class
Yeah - symlink was it - thanks. Hmm. Maybe we should import these things or something to avoid the need :-). shrug. |
This commit adds some unit tests for the
ntp class.