blob: 71a397b4cfb8de7d8a38600ee18f7ea5d21b2e06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
$: << File.expand_path(File.join(File.dirname( __FILE__ ), "../lib"))
require 'ffi_yajl'
RSpec.configure do |c|
c.filter_run_excluding :unix_only => true unless RUBY_PLATFORM !~ /mswin|mingw|windows/
c.filter_run_excluding :ruby_gte_19 => true unless RUBY_VERSION.to_f >= 1.9
c.filter_run_excluding :ruby_gte_193 => true unless RUBY_VERSION.to_f >= 2.0 || RUBY_VERSION =~ /^1\.9\.3/
c.order = 'random'
c.expect_with :rspec do |c|
c.syntax = :expect
end
end
|