summaryrefslogtreecommitdiff
path: root/spec/unit/dsl
diff options
context:
space:
mode:
authorClaire McQuin <claire@getchef.com>2014-08-20 09:44:19 -0700
committerClaire McQuin <claire@getchef.com>2014-08-22 11:59:32 -0700
commitff4109b12508a74ae99bf4fc0e1e0c4a4f9a9cc5 (patch)
tree07ea6afae9cb8beac2b5baa0a9403d7084371292 /spec/unit/dsl
parentc5e19cfb8b5e5ae01ec3d7515ff37a841f6be642 (diff)
downloadchef-ff4109b12508a74ae99bf4fc0e1e0c4a4f9a9cc5.tar.gz
Ignore v3 encryption detection on ruby < 2.0.
Diffstat (limited to 'spec/unit/dsl')
-rw-r--r--spec/unit/dsl/data_query_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/unit/dsl/data_query_spec.rb b/spec/unit/dsl/data_query_spec.rb
index 2981c0dac9..675b10d34f 100644
--- a/spec/unit/dsl/data_query_spec.rb
+++ b/spec/unit/dsl/data_query_spec.rb
@@ -132,7 +132,7 @@ describe Chef::DSL::DataQuery do
end
end
- context "when encryption version is 3" do
+ context "when encryption version is 3", :ruby_20_only do
include_examples "encryption detected" do
let(:version) { 3 }
let(:encryptor) { Chef::EncryptedDataBagItem::Encryptor::Version3Encryptor }