spec/views/pugin/components/_status.html.haml_spec.rb in pugin-0.2.0 vs spec/views/pugin/components/_status.html.haml_spec.rb in pugin-0.5.0
- old
+ new
@@ -8,14 +8,14 @@
render partial: 'pugin/components/status', locals: { status: nil }
expect(response).to eq(
<<DATA
<div class='highlight__status'>
-<div class='c-fs status'>
-<div class='c-fg'>
+<div class='container--full-screen status'>
+<div class='container--full-grid'>
<div class='row--indent-horizontal'>
-<p>This is a <a href="/"><strong>BETA</strong></a>. Give <a href="https://ukparliament-self.achieveservice.com/en/AchieveForms/?form_uri=sandbox-publish://AF-Process-032e1b1d-958f-4402-9ab2-97a38ed9b899/AF-Stage9b7ecae8-0c85-4ee7-afda-b256cffe5f08/definition.json&redirectlink=%2F&cancelRedirectLink=%2F&category=AF-Category-48936b5c-9329-48c7-a0a5-563463aacadf">feedback</a> to improve it.</p>
+<p>This is a test website, so may be inaccurate or misleading - <a target="_blank" title="website opens in a new window" href="https://ukparliament-self.achieveservice.com/en/AchieveForms/?form_uri=sandbox-publish://AF-Process-032e1b1d-958f-4402-9ab2-97a38ed9b899/AF-Stage9b7ecae8-0c85-4ee7-afda-b256cffe5f08/definition.json&redirectlink=%2F&cancelRedirectLink=%2F&category=AF-Category-48936b5c-9329-48c7-a0a5-563463aacadf">give feedback</a> to help improve it. Return to <a href="https://www.parliament.uk">current website</a>.</p>
</div>
</div>
</div>
</div>
DATA
@@ -28,13 +28,13 @@
render partial: 'pugin/components/status', locals: { status: "test" }
expect(rendered).to eq(
<<DATA
<div class='highlight__status'>
-<div class='c-fs status__test'>
-<div class='c-fg'>
+<div class='container--full-screen status__test'>
+<div class='container--full-grid'>
<div class='row--indent-horizontal'>
-<p>This is a <a href="/"><strong>BETA</strong></a>. Give <a href="https://ukparliament-self.achieveservice.com/en/AchieveForms/?form_uri=sandbox-publish://AF-Process-032e1b1d-958f-4402-9ab2-97a38ed9b899/AF-Stage9b7ecae8-0c85-4ee7-afda-b256cffe5f08/definition.json&redirectlink=%2F&cancelRedirectLink=%2F&category=AF-Category-48936b5c-9329-48c7-a0a5-563463aacadf">feedback</a> to improve it.</p>
+<p>This is a test website, so may be inaccurate or misleading - <a target="_blank" title="website opens in a new window" href="https://ukparliament-self.achieveservice.com/en/AchieveForms/?form_uri=sandbox-publish://AF-Process-032e1b1d-958f-4402-9ab2-97a38ed9b899/AF-Stage9b7ecae8-0c85-4ee7-afda-b256cffe5f08/definition.json&redirectlink=%2F&cancelRedirectLink=%2F&category=AF-Category-48936b5c-9329-48c7-a0a5-563463aacadf">give feedback</a> to help improve it. Return to <a href="https://www.parliament.uk">current website</a>.</p>
</div>
</div>
</div>
</div>
DATA