summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-01-30 14:57:29 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2014-01-30 14:57:29 -0800
commitf1c684be191f8f13961712fa9c4e6bfc402a95c5 (patch)
tree012b6d7ec407f9c4fba6be5ab73657e2ea508538
parent9a236897480d7ad5fa13d1d3b5d4a91b6c072a61 (diff)
downloadchef-f1c684be191f8f13961712fa9c4e6bfc402a95c5.tar.gz
omit test on ruby-1.8
rspec and ruby-1.8 don't play well with this test: https://github.com/rspec/rspec-mocks/issues/549
-rw-r--r--spec/integration/knife/download_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/knife/download_spec.rb b/spec/integration/knife/download_spec.rb
index ce8df38bd8..f266b47b1b 100644
--- a/spec/integration/knife/download_spec.rb
+++ b/spec/integration/knife/download_spec.rb
@@ -973,7 +973,7 @@ EOM
cookbook 'x', '1.0.0', { 'metadata.rb' => 'version "1.0.0"' }
when_the_repository 'is empty' do
- it 'knife download /cookbooks/x signs all requests' do
+ it 'knife download /cookbooks/x signs all requests', :ruby_gte_19_only do
# Check that BasicClient.request() always gets called with X-OPS-USERID
original_new = Chef::HTTP::BasicClient.method(:new)