summaryrefslogtreecommitdiff
path: root/spec/support/shared/shared_examples.rb
diff options
context:
space:
mode:
authorJohn Keiser <john@johnkeiser.com>2015-06-16 13:49:26 -0700
committerJohn Keiser <john@johnkeiser.com>2015-06-16 16:57:07 -0700
commit6fbe77bf0c3fa2f4683487fac87f79b1eb6c293e (patch)
tree670157649ee8529602ff7845c43d785647fca2d7 /spec/support/shared/shared_examples.rb
parent7f81d08720d59df974ec4d5416fd24fafc2ad824 (diff)
downloadchef-jk/3524.tar.gz
Only automatically set resources that do class X < Chef::Resource,jk/3524
not X = Class.new(Chef::Resource)
Diffstat (limited to 'spec/support/shared/shared_examples.rb')
-rw-r--r--spec/support/shared/shared_examples.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/shared/shared_examples.rb b/spec/support/shared/shared_examples.rb
index b20c65f8b6..550fa2eb68 100644
--- a/spec/support/shared/shared_examples.rb
+++ b/spec/support/shared/shared_examples.rb
@@ -1,7 +1,7 @@
# For storing any examples shared between multiple tests
# Any object which defines a .to_json should import this test
-shared_examples "to_json equalivent to Chef::JSONCompat.to_json" do
+shared_examples "to_json equivalent to Chef::JSONCompat.to_json" do
let(:jsonable) {
raise "You must define the subject when including this test"