Permalink
Browse files

load psych before yaml in the specs

  • Loading branch information...
1 parent 4c25708 commit 29f74a0d58b6351831db0c4bdc89c7bdcbcaad71 @indirect indirect committed Sep 23, 2011
Showing with 7 additions and 0 deletions.
  1. +7 −0 spec/spec_helper.rb
View
@@ -1,6 +1,13 @@
$:.unshift File.expand_path('..', __FILE__)
$:.unshift File.expand_path('../../lib', __FILE__)
+begin
+ require 'psych'
+rescue LoadError
+ensure
+ require 'yaml'
+end
+
require 'fileutils'
require 'rubygems'
require 'bundler'

0 comments on commit 29f74a0

Please sign in to comment.