summaryrefslogtreecommitdiff
path: root/test/test-pages/lwn-1
diff options
context:
space:
mode:
authorAndres Rey <[email protected]>2017-12-02 21:06:15 +0000
committerAndres Rey <[email protected]>2017-12-02 21:06:15 +0000
commitd8cb39b7ddeff07f1736e078c20261685586bd3a (patch)
tree0e3346870dc5f1afce6e8ce9cbfb12b6ad90eef7 /test/test-pages/lwn-1
parentc250ab615235037f50b1c2bae2f8b4371ed59b0e (diff)
Update test cases to check metadata
Diffstat (limited to 'test/test-pages/lwn-1')
-rw-r--r--test/test-pages/lwn-1/config.json2
-rw-r--r--test/test-pages/lwn-1/expected-metadata.json7
2 files changed, 4 insertions, 5 deletions
diff --git a/test/test-pages/lwn-1/config.json b/test/test-pages/lwn-1/config.json
index 6441edf..0ac6816 100644
--- a/test/test-pages/lwn-1/config.json
+++ b/test/test-pages/lwn-1/config.json
@@ -1,3 +1,3 @@
{
- "articleByLine": true
+ "ArticleByLine": true
} \ No newline at end of file
diff --git a/test/test-pages/lwn-1/expected-metadata.json b/test/test-pages/lwn-1/expected-metadata.json
index 0309a57..7a7ca1c 100644
--- a/test/test-pages/lwn-1/expected-metadata.json
+++ b/test/test-pages/lwn-1/expected-metadata.json
@@ -1,6 +1,5 @@
{
- "title": "LWN.net Weekly Edition for March 26, 2015 [LWN.net]",
- "byline": "By Nathan Willis\n March 25, 2015",
- "excerpt": "The Arduino has been one of the biggest success stories of the open-hardware movement, but that success does not protect it from internal conflict. In recent months, two of the project's founders have come into conflict about the direction of future efforts—and that conflict has turned into a legal dispute about who owns the rights to the Arduino trademark.",
- "readerable": true
+ "Title": "LWN.net Weekly Edition for March 26, 2015 [LWN.net]",
+ "Author": "By Nathan Willis\n March 25, 2015",
+ "Excerpt": "The Arduino has been one of the biggest success stories of the open-hardware movement, but that success does not protect it from internal conflict. In recent months, two of the project's founders have come into conflict about the direction of future efforts—and that conflict has turned into a legal dispute about who owns the rights to the Arduino trademark."
}