Skip to content

Commit 097c152

Browse files
committed
add spec
1 parent c8d1332 commit 097c152

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

lib/html2rss/configs/blog.mondediplo.net/feed.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
channel:
22
url: https://blog.mondediplo.net/%<blog>s
33
time_zone: Europe/Paris
4-
title: title: "%<blog>s"
4+
title: "blog.mondediplo.net: %<blog>s"
55
ttl: 120
66
selectors:
77
items:
@@ -13,4 +13,3 @@ selectors:
1313
url:
1414
selector: "a"
1515
extractor: "href"
16-
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# frozen_string_literal: true
2+
3+
RSpec.describe 'blog.mondediplo.net/feed.yml' do
4+
it_behaves_like 'config.yml', 'blog.mondediplo.net/feed.yml', blog: '-Defense-en-ligne-'
5+
end

0 commit comments

Comments
 (0)