Skip to content

Test failures with RSpec 3.10.2 + #203

@voxik

Description

@voxik

The test suite fails since RSpec 3.10.2 was released:

+ rspec spec/multi_json_spec.rb spec/options_cache_spec.rb
.................F.............
Failures:
  1) MultiJson default options sets both load and dump options
     Failure/Error: self.load_options = self.dump_options = value
       MultiJson received :dump_options= with unexpected arguments
         expected: ({:foo=>"bar"})
              got: ({:foo=>"bar"})
     # ./lib/multi_json.rb:15:in `default_options='
     # ./spec/multi_json_spec.rb:171:in `block (4 levels) in <top (required)>'
     # /builddir/build/BUILD/spec/spec_helper.rb:12:in `silence_warnings'
     # ./spec/multi_json_spec.rb:171:in `block (3 levels) in <top (required)>'
Finished in 0.07467 seconds (files took 0.11595 seconds to load)
31 examples, 1 failure
Failed examples:
rspec ./spec/multi_json_spec.rb:168 # MultiJson default options sets both load and dump options

This is due to rspec/rspec-mocks#1394

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions