summaryrefslogtreecommitdiff
path: root/spec/unit/resource/bash_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/unit/resource/bash_spec.rb')
-rw-r--r--spec/unit/resource/bash_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/unit/resource/bash_spec.rb b/spec/unit/resource/bash_spec.rb
index 0b6b365eb8..10482002db 100644
--- a/spec/unit/resource/bash_spec.rb
+++ b/spec/unit/resource/bash_spec.rb
@@ -22,9 +22,8 @@ describe Chef::Resource::Bash do
let(:resource) { Chef::Resource::Bash.new("fakey_fakerton") }
- it "creates a new Chef::Resource::Bash" do
- expect(resource).to be_a_kind_of(Chef::Resource)
- expect(resource).to be_a_kind_of(Chef::Resource::Bash)
+ it "is a subclass of Chef::Resource::Script" do
+ expect(resource).to be_a_kind_of(Chef::Resource::Script)
end
it "has a resource name of :bash" do