Closed lehn-etracker closed 6 years ago
4.0.0
chefspec (7.1.0) chef (12.21.4)
debian jessie (8.8)
try to run chefspec in consumer cookbook using runit as dependency in metadata.rb
call chefspec
chefspec works
TypeError: superclass mismatch for class RunitService # /tmp/chefspec20171128-32528-18omwrvfile_cache_path/cookbooks/runit/libraries/resource_runit_service.rb:27:in `<class:Resource>' # /tmp/chefspec20171128-32528-18omwrvfile_cache_path/cookbooks/runit/libraries/resource_runit_service.rb:25:in `<class:Chef>' # /tmp/chefspec20171128-32528-18omwrvfile_cache_path/cookbooks/runit/libraries/resource_runit_service.rb:24:in `<top (required)>' # ./spec/unit/recipes/default_spec.rb:13:in `block (3 levels) in <top (required)>' # ./spec/unit/recipes/default_spec.rb:44:in `block (4 levels) in <top (required)>'
This should be resolved in the 4.0.1 release. Sorry for the breakage here.
Cookbook version
4.0.0
Chef-client version
chefspec (7.1.0) chef (12.21.4)
Platform Details
debian jessie (8.8)
Scenario:
try to run chefspec in consumer cookbook using runit as dependency in metadata.rb
Steps to Reproduce:
call chefspec
Expected Result:
chefspec works
Actual Result: