summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-04-11 13:19:43 -0700
committerLamont Granquist <lamont@scriptkiddie.org>2015-04-11 13:19:43 -0700
commitc70abbaefbc4ea3fa6450e341bf3818ceca8b2fa (patch)
tree01fed604e141de344424d4904756feb9f269117a /spec
parent3bd0495de9455fd81fdd843f9eab3cf507f3921a (diff)
downloadffi-yajl-c70abbaefbc4ea3fa6450e341bf3818ceca8b2fa.tar.gz
test with yajl-ruby concurrently loaded
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 71a397b..267983e 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -1,5 +1,11 @@
$: << File.expand_path(File.join(File.dirname( __FILE__ ), "../lib"))
+begin
+ require 'yajl'
+rescue LoadError
+ # yajl can't be installed on jruby
+end
+
require 'ffi_yajl'
RSpec.configure do |c|