diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/ffi_yajl/parser_spec.rb | 2 | ||||
-rw-r--r-- | spec/spec_helper.rb | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/spec/ffi_yajl/parser_spec.rb b/spec/ffi_yajl/parser_spec.rb index 0afae3f..6ef587f 100644 --- a/spec/ffi_yajl/parser_spec.rb +++ b/spec/ffi_yajl/parser_spec.rb @@ -453,7 +453,7 @@ describe "FFI_Yajl::Parser" do end end - context "when parsing big floats", :ruby_gte_193 => true do + context "when parsing big floats", :ruby_gte_193 => true, :unix_only => true do let(:json) { '[0.' + '1' * 2**23 + ']' } it "parses" do diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 50c3454..71a397b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -3,6 +3,7 @@ $: << 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/ |