test/excon/link_object_test.rb in excon-hypermedia-0.5.2 vs test/excon/link_object_test.rb in excon-hypermedia-0.5.3

- old
+ new

@@ -1,27 +1,26 @@ # frozen_string_literal: true -# rubocop:disable Metrics/MethodLength require_relative '../test_helper' module Excon # LinkTest # # Validate the workings of `Excon::HyperResource::LinkObject`. # class LinkTest < Minitest::Test def self - '{ "href": "https://www.example.org/hello" }' + '{ "href": "https://example.org/hello" }' end def templated - '{ "href": "https://www.example.org/hello/{receiver}", "templated": "true" }' + '{ "href": "https://example.org/hello/{receiver}", "templated": "true" }' end def full <<-EOF { - "href": "https://www.example.org/goodbye/{receiver}", + "href": "https://example.org/goodbye/{receiver}", "templated": "true", "type": "json", "deprecation": true, "name": "goodbye", "profile": "https://profile.example.org",