diff options
Diffstat (limited to 'spec/support/shared/shared_examples.rb')
-rw-r--r-- | spec/support/shared/shared_examples.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/spec/support/shared/shared_examples.rb b/spec/support/shared/shared_examples.rb index 550fa2eb68..c7ee16d7c0 100644 --- a/spec/support/shared/shared_examples.rb +++ b/spec/support/shared/shared_examples.rb @@ -2,7 +2,6 @@ # Any object which defines a .to_json should import this test shared_examples "to_json equivalent to Chef::JSONCompat.to_json" do - let(:jsonable) { raise "You must define the subject when including this test" } @@ -10,5 +9,4 @@ shared_examples "to_json equivalent to Chef::JSONCompat.to_json" do it "should allow consumers to call #to_json or Chef::JSONCompat.to_json" do expect(jsonable.to_json).to eq(Chef::JSONCompat.to_json(jsonable)) end - end |