summaryrefslogtreecommitdiff
path: root/spec/support/shared/unit/api_versioning.rb
diff options
context:
space:
mode:
authorJay Mundrawala <jdmundrawala@gmail.com>2015-07-07 07:02:38 -0700
committerJay Mundrawala <jdmundrawala@gmail.com>2015-07-07 07:02:38 -0700
commit1dc20627aa5d742376269dc5b4d5c67f34d08008 (patch)
tree8f26017e7ce9e7168e010260a87c39b737ba5855 /spec/support/shared/unit/api_versioning.rb
parent283b8d21e2f347afea5f8ce8c4366588295a845a (diff)
parent4245098873f2d5f6ec2759dda5b3238bf8f0dd8a (diff)
downloadchef-12.4.1.tar.gz
Merge pull request #3639 from chef/jdm/12.4.112.4.1
12.4.1
Diffstat (limited to 'spec/support/shared/unit/api_versioning.rb')
-rw-r--r--spec/support/shared/unit/api_versioning.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/support/shared/unit/api_versioning.rb b/spec/support/shared/unit/api_versioning.rb
index a4f353de60..05a4117f8e 100644
--- a/spec/support/shared/unit/api_versioning.rb
+++ b/spec/support/shared/unit/api_versioning.rb
@@ -26,7 +26,7 @@ shared_examples_for "version handling" do
allow(rest_v1).to receive(http_verb).and_raise(exception_406)
end
- context "when the server does not support the min or max server API version that Chef::User supports" do
+ context "when the server does not support the min or max server API version that Chef::UserV1 supports" do
before do
allow(object).to receive(:server_client_api_version_intersection).and_return([])
end
@@ -34,7 +34,7 @@ shared_examples_for "version handling" do
it "raises the original exception" do
expect{ object.send(method) }.to raise_error(exception_406)
end
- end # when the server does not support the min or max server API version that Chef::User supports
+ end # when the server does not support the min or max server API version that Chef::UserV1 supports
end # version handling
shared_examples_for "user and client reregister" do