summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorsersut <serdar@opscode.com>2013-10-15 15:50:39 -0700
committersersut <serdar@opscode.com>2013-10-15 17:19:01 -0700
commitb623f12bb621fd6d43a61df80d7669e8f87b3ede (patch)
tree3bc24a51471bb81727397cc630f8ab13ddebc303 /spec
parente6b68b29a961db0ba4d2a63c80926caaaf5331f6 (diff)
downloadchef-b623f12bb621fd6d43a61df80d7669e8f87b3ede.tar.gz
Disable concurrent solo tests on ruby 1.8.7 because Process.spawn doesn't exist.
Diffstat (limited to 'spec')
-rw-r--r--spec/integration/solo/solo_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/integration/solo/solo_spec.rb b/spec/integration/solo/solo_spec.rb
index c5341064fc..9d2a391477 100644
--- a/spec/integration/solo/solo_spec.rb
+++ b/spec/integration/solo/solo_spec.rb
@@ -35,7 +35,8 @@ ruby_block "sleeping" do
end
end
EOM
- it "while running solo concurrently" do
+ # Ruby 1.8.7 doesn't have Process.spawn :(
+ it "while running solo concurrently", :ruby_gte_19_only => true do
file 'config/solo.rb', <<EOM
cookbook_path "#{path_to('cookbooks')}"
file_cache_path "#{path_to('config/cache')}"