diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2015-04-11 13:19:43 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2015-04-11 13:19:43 -0700 |
commit | c70abbaefbc4ea3fa6450e341bf3818ceca8b2fa (patch) | |
tree | 01fed604e141de344424d4904756feb9f269117a /spec | |
parent | 3bd0495de9455fd81fdd843f9eab3cf507f3921a (diff) | |
download | ffi-yajl-c70abbaefbc4ea3fa6450e341bf3818ceca8b2fa.tar.gz |
test with yajl-ruby concurrently loaded
Diffstat (limited to 'spec')
-rw-r--r-- | spec/spec_helper.rb | 6 |
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| |