On 6/9/14, 12:49 PM, Clayton O'Neill wrote:
> On Mon, Jun 9, 2014 at 11:23 AM, fatmcgav <fatmc...@gmail.com
> <mailto:fatmc...@gmail.com>> wrote:
> 
>     Afternoon all,
> 
>     Just thought I'd make the lists aware of an issue I hit with
>     puppetlabs_spec_helper v0.5.0 today.
> 
>     It would appear that changes committed in [1] results in the
>     dropping of mocha as a dependency, and therefore any tests depending
>     on mocha failing.
>     The error I was seeing was:
> 
>     
> Failure/Error:Puppet::Type.type(:application).stubs(:defaultprovider).returns
>     described_class
> 
>     NoMethodError:
> 
>     undefined method `stubs' for Puppet::Type::Application:Class
> 
>     # ./spec/unit/puppet/provider/application/asadmin_spec.rb:6
> 
>     A work-around for me was to pin puppetlabs_spec_helper to v0.4.x. [2]
> 
> 
> I just ran into the same problem.  Is this a bug, or a change in API?  I
> also worked around it via '~> 0.4.1'. 


Hi,

Created a ticket[1] asking Puppet Labs to release this as 1.0.0, so that
each release cannot break the API as so many of us depend on this.

[1] - https://tickets.puppetlabs.com/browse/PUP-2743

Br,
-g

-- 
Garrett Honeycutt
@learnpuppet
Puppet Training with LearnPuppet.com
Mobile: +1.206.414.8658

-- 
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/5395E97A.9050005%40garretthoneycutt.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to