diff options
author | Andre Arko <andre@arko.net> | 2014-08-24 17:16:45 -0500 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-08-24 17:18:08 -0500 |
commit | d565f792d7086330faa54a2c0c786409fb4ce0ae (patch) | |
tree | a59db77657d212da473a528851389165b0ffdbc2 | |
parent | 1ce22ac8e0f3417f3ac89f799a1b80751ac7afe4 (diff) | |
download | bundler-d565f792d7086330faa54a2c0c786409fb4ce0ae.tar.gz |
skip YAML::ENGINE specs when it is removed
-rw-r--r-- | spec/bundler/bundler_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/bundler_spec.rb b/spec/bundler/bundler_spec.rb index 60168ddf28..f41329b7b8 100644 --- a/spec/bundler/bundler_spec.rb +++ b/spec/bundler/bundler_spec.rb @@ -23,7 +23,7 @@ describe Bundler do end end - context "on Ruby 1.9", :ruby => "1.9" do + context "on Ruby 1.9", :ruby => "1.9", :if => defined?(YAML::ENGINE) do context "with Syck as YAML::Engine" do it "raises a GemspecError after YAML load throws ArgumentError" do orig_yamler, YAML::ENGINE.yamler = YAML::ENGINE.yamler, 'syck' |