Re: [Puppet-dev] rsepc example for testing file manipulation

2014-07-26 Thread Johan De Wit
Hi Andy, thanks for the great explanation. I really need to get my Dev skills above zero :) I will post a link to this function and write some step by step little guide grts johan On 25/07/14 19:47, Andy Parker wrote: Hi Johan, On Fri, Jul 25, 2014 at 5:08 AM, Johan De Wit

Re: [Puppet-dev] rsepc example for testing file manipulation

2014-07-25 Thread Andy Parker
Hi Johan, On Fri, Jul 25, 2014 at 5:08 AM, Johan De Wit wrote: > Hi, > > Does someone knows more rspec code examples for working with files ? > > I stumbled across https://github.com/puppetlabs/puppetlabs-inifile/blob/ > master/spec/unit/puppet/provider/ini_setting/ruby_spec.rb , > > but cannot

[Puppet-dev] rsepc example for testing file manipulation

2014-07-25 Thread Johan De Wit
Hi, Does someone knows more rspec code examples for working with files ? I stumbled across https://github.com/puppetlabs/puppetlabs-inifile/blob/master/spec/unit/puppet/provider/ini_setting/ruby_spec.rb , but cannot find more examples, and struggling a bit in writing good rspec tests for th