diff options
author | John Keiser <john@johnkeiser.com> | 2015-10-05 08:11:00 -0700 |
---|---|---|
committer | John Keiser <john@johnkeiser.com> | 2015-10-05 08:11:00 -0700 |
commit | f42e439686db89a1e123ed5293b9e63ebb426bf1 (patch) | |
tree | b2e396ccc1c4b84004ecaeef6e262f366845b194 /spec/integration | |
parent | 69cf21c8b35d7fb94775db377e810908e5fad54a (diff) | |
download | chef-f42e439686db89a1e123ed5293b9e63ebb426bf1.tar.gz |
Fix forward module.to_sjk/forwarder-to_s
Diffstat (limited to 'spec/integration')
-rw-r--r-- | spec/integration/recipes/resource_action_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/integration/recipes/resource_action_spec.rb b/spec/integration/recipes/resource_action_spec.rb index 1c84b986cc..6f3f5ab47e 100644 --- a/spec/integration/recipes/resource_action_spec.rb +++ b/spec/integration/recipes/resource_action_spec.rb @@ -202,6 +202,11 @@ describe "Resource.action" do let(:resource_dsl) { :action_jackson } end + it "Can retrieve ancestors of action class without crashing" do + converge { action_jackson 'hi' } + expect { ActionJackson.action_class.ancestors.join(",") }.not_to raise_error + end + context "And 'action_jackgrandson' inheriting from ActionJackson and changing nothing" do before(:context) { class ActionJackgrandson < ActionJackson |