From 5e709155c1b47c6d6e69620886dc52b16da0347d Mon Sep 17 00:00:00 2001 From: Oliver Denman Date: Thu, 27 Apr 2017 15:09:16 +0100 Subject: [PATCH] Test 2014 member page --- test/cassettes/Asma_Bou_Hana.yml | 208 +++++++++++++++++++++++++++++++ test/data/Asma_Bou_Hana.yml | 14 +++ 2 files changed, 222 insertions(+) create mode 100644 test/cassettes/Asma_Bou_Hana.yml create mode 100644 test/data/Asma_Bou_Hana.yml diff --git a/test/cassettes/Asma_Bou_Hana.yml b/test/cassettes/Asma_Bou_Hana.yml new file mode 100644 index 0000000..a565e62 --- /dev/null +++ b/test/cassettes/Asma_Bou_Hana.yml @@ -0,0 +1,208 @@ +--- +http_interactions: +- request: + method: get + uri: http://majles.marsad.tn/2014/fr/elus/Asma_Bou_Hana + body: + encoding: US-ASCII + string: '' + headers: + Accept-Encoding: + - gzip;q=1.0,deflate;q=0.6,identity;q=0.3 + Accept: + - "*/*" + User-Agent: + - Ruby + response: + status: + code: 200 + message: OK + headers: + Server: + - nginx/1.10.0 + Date: + - Thu, 27 Apr 2017 13:08:47 GMT + Content-Type: + - text/html; charset=utf-8 + Transfer-Encoding: + - chunked + Connection: + - keep-alive + Set-Cookie: + - session=eyJfaWQiOnsiIGIiOiJabUZpWkRsbU5EVm1ObU0yT0dZME5EWXhNalF5TW1NMU5EUmtZbU5tTm1NPSJ9fQ.C-N-3w.vghYtV-2hDzSkMFHd9V9vXWnT_Q; + HttpOnly; Path=/ + body: + encoding: ASCII-8BIT + string: !binary |- + PCFET0NUWVBFIGh0bWw+CjxodG1sIHhtbG5zPSJodHRwOi8vd3d3LnczLm9y + Zy8xOTk5L3hodG1sIiB4bWxuczpvZz0iaHR0cDovL29ncC5tZS9ucyMiIGxh + bmc9ImZyIj4KPGhlYWQ+CiAgICAKPHRpdGxlPkFzbWEgQWJvdSBIYW5hIHwg + TWFyc2FkIE1hamxlczwvdGl0bGU+CjxtZXRhIHByb3BlcnR5PSJvZzppbWFn + ZSIgY29udG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hIGTDqWZlbnNlPC9hPjwvZGl2PgoJCQkJCTxkaXYgY2xhc3M9ImdyZXkg + c21hbGwiPjA0LzIwMTU8c3BhbiBzdHlsZT0ibWFyZ2luOjAgNXB4OyI+LTwv + c3Bhbj4wOS8yMDE2PC9kaXY+CgkJCQk8L2Rpdj4KCQkJCQoJCQkJCgkJCTwv + ZGl2PgoJCQkKCgkJCTxkaXYgaWQ9InBhcmNvdXJzIiBjbGFzcz0idG9wLTIw + Ij4KCQkJCQoJCQkJPGRpdiBjbGFzcz0idG9wLTIwIj4KCQkJCQk8aDU+UGFy + Y291cnMgc2NvbGFpcmU8L2g1PgoJCQkJCQoJCQkJCQoJCQkJCTxkaXYgY2xh + c3M9InBhcmNvdXJzLWV0YXBlIj5NYWl0cmlzZSBlbiBEcm9pdDwvZGl2PgoJ + CQkJCQoJCQkJPC9kaXY+CgkJCQkKCQkJCQoJCQkJCgoJCQkJCgoJCQkJCgkJ + CTwvZGl2PgoJCTwvZGl2PgoJPC9kaXY+CjwvZGl2PgoKCjwvYm9keT4KPC9o + dG1sPg== + http_version: + recorded_at: Thu, 27 Apr 2017 14:08:05 GMT +recorded_with: VCR 3.0.3 diff --git a/test/data/Asma_Bou_Hana.yml b/test/data/Asma_Bou_Hana.yml new file mode 100644 index 0000000..2890b2a --- /dev/null +++ b/test/data/Asma_Bou_Hana.yml @@ -0,0 +1,14 @@ +--- +:class: MemberLink +:url: http://majles.marsad.tn/2014/fr/elus/Asma_Bou_Hana +# TODO: Ensure all available data is captured (issue: #1) +:to_h: + :id: + :name: + :image: http://majles.marsad.tn/2014/fr/elus/Asma_Bou_Hana + :partylist: + :faction: + :faction_id: + :area: + :gender: + :source: