test/test_json.rb in sibit-0.21.8 vs test/test_json.rb in sibit-0.22.0

- old
+ new

@@ -1,8 +1,8 @@ # frozen_string_literal: true -# Copyright (c) 2019-2021 Yegor Bugayenko +# Copyright (c) 2019-2022 Yegor Bugayenko # # Permission is hereby granted, free of charge, to any person obtaining a copy # of this software and associated documentation files (the 'Software'), to deal # in the Software without restriction, including without limitation the rights # to use, copy, modify, merge, publish, distribute, sublicense, and/or sell @@ -25,10 +25,10 @@ require 'uri' require_relative '../lib/sibit/json' # Sibit::Json test. # Author:: Yegor Bugayenko (yegor256@gmail.com) -# Copyright:: Copyright (c) 2019-2021 Yegor Bugayenko +# Copyright:: Copyright (c) 2019-2022 Yegor Bugayenko # License:: MIT class TestJson < Minitest::Test def test_loads_hash stub_request(:get, 'https://hello.com').to_return(body: '{"test":123}') json = Sibit::Json.new.get(URI('https://hello.com'))