On Aug 12, 2014 11:57 AM, "Sebastian Otaegui" <fen...@gmail.com> wrote:
>
> Hello all,
>
> I have created this module:
>
> https://github.com/Spantree/puppet-thrift and everything worked fine all
specs ran fine.
>
> Now I using the puppetlabs/apt module and when I run the 'rake spec' it
is trying to run the 'apt' tests, and it is failing (I think) because I am
not providing the appropriate facts.
>
> Is there a way to ignore the rspecs inside the fixtures/modules/
directory?
>
> I tried to do this:
>
> require 'rake'
> require 'rspec/core/rake_task'
>
> RSpec::Core::RakeTask.new(:spec) do |t|
>   t.pattern = 'spec/*/*_spec.rb'
> end
>
> But it didn't work.
>

How about just:

require 'puppetlabs_spec_helper/rake_tasks'

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/CAMmm3r457FBh_OK_%2BEZiDFnRjQVY8cUv%3D1RE2-GFbA8y9DA3Xg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to