Skip to content

Symbolic Values Seem to be Skipped #36

@kyprifog

Description

@kyprifog

Sorry if this is obvious. Can anyone explain to me why this is expected behavior?

require 'bundler/inline'

gemfile(true) do
  source 'https://rubygems.org'
  gem 'rspec'
  gem 'json_expressions'
end

require 'rspec'
require 'json_expressions/rspec'

class Test
  describe do
    it 'does not work' do
      expect({test: :test}).to match_json_expression({test: :test2})
    end
  end
end

results in

Fetching gem metadata from https://rubygems.org/...........
Fetching version metadata from https://rubygems.org/..
Resolving dependencies...
Using diff-lcs 1.2.5
Using json_expressions 0.8.3
Using rspec-support 3.4.1
Using bundler 1.11.2
Using rspec-core 3.4.4
Using rspec-expectations 3.4.0
Using rspec-mocks 3.4.1
Using rspec 3.4.0
.

Finished in 0.0005 seconds (files took 2 seconds to load)
1 example, 0 failures

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions