Sha256: 075adf9cec37c9b90be464fbb765f8d6b894baf9a73e9f40c77f678e50e4c367

Contents?: true

Size: 222 Bytes

Versions: 5

Compression:

Stored size: 222 Bytes

Contents

# frozen_string_literal: true

require "test_helper"

class JsonParserTest < Minitest::Test
  test "loads JSON" do
    JSON.expects(:parse).with(%[{"a":1}])
    Aitch::ResponseParser::JSONParser.load(%[{"a":1}])
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
aitch-2.0.0 test/aitch/response_parser/json_parser_test.rb
aitch-1.2.2 test/aitch/response_parser/json_parser_test.rb
aitch-1.2.1 test/aitch/response_parser/json_parser_test.rb
aitch-1.2.0 test/aitch/response_parser/json_parser_test.rb
aitch-1.1.0 test/aitch/response_parser/json_parser_test.rb