From e674608d10e3c0381d2e8172580b36eb553b5279 Mon Sep 17 00:00:00 2001 From: "Akihiko Odaki (@fn_aki@pawoo.net)" Date: Sun, 4 Jun 2017 21:59:40 +0900 Subject: A minor change for ProviderDiscovery and spec (#3543) * Do not default the format in ProviderDiscovery The format should be determined when discovering, as it is in the current implementation, and it is a flaw if it is not determined. * Spec ProviderDiscovery --- spec/fixtures/requests/oembed_invalid_xml.html | 7 +++++++ spec/fixtures/requests/oembed_json.html | 7 +++++++ spec/fixtures/requests/oembed_json_xml.html | 8 ++++++++ spec/fixtures/requests/oembed_undiscoverable.html | 5 +++++ spec/fixtures/requests/oembed_xml.html | 7 +++++++ 5 files changed, 34 insertions(+) create mode 100644 spec/fixtures/requests/oembed_invalid_xml.html create mode 100644 spec/fixtures/requests/oembed_json.html create mode 100644 spec/fixtures/requests/oembed_json_xml.html create mode 100644 spec/fixtures/requests/oembed_undiscoverable.html create mode 100644 spec/fixtures/requests/oembed_xml.html (limited to 'spec/fixtures') diff --git a/spec/fixtures/requests/oembed_invalid_xml.html b/spec/fixtures/requests/oembed_invalid_xml.html new file mode 100644 index 000000000..405834f12 --- /dev/null +++ b/spec/fixtures/requests/oembed_invalid_xml.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/spec/fixtures/requests/oembed_json.html b/spec/fixtures/requests/oembed_json.html new file mode 100644 index 000000000..773a4f92a --- /dev/null +++ b/spec/fixtures/requests/oembed_json.html @@ -0,0 +1,7 @@ + + + + + + + diff --git a/spec/fixtures/requests/oembed_json_xml.html b/spec/fixtures/requests/oembed_json_xml.html new file mode 100644 index 000000000..b5fc9bed0 --- /dev/null +++ b/spec/fixtures/requests/oembed_json_xml.html @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/spec/fixtures/requests/oembed_undiscoverable.html b/spec/fixtures/requests/oembed_undiscoverable.html new file mode 100644 index 000000000..a4acdc47a --- /dev/null +++ b/spec/fixtures/requests/oembed_undiscoverable.html @@ -0,0 +1,5 @@ + + + + + diff --git a/spec/fixtures/requests/oembed_xml.html b/spec/fixtures/requests/oembed_xml.html new file mode 100644 index 000000000..5d7633e71 --- /dev/null +++ b/spec/fixtures/requests/oembed_xml.html @@ -0,0 +1,7 @@ + + + + + + + -- cgit