spec/views/pugin/components/_status.html.haml_spec.rb in pugin-0.8.2 vs spec/views/pugin/components/_status.html.haml_spec.rb in pugin-0.8.3

- old
+ new

@@ -14,11 +14,11 @@ it 'renders a message not related to the dissolution' do render partial: 'pugin/components/status', locals: { status: nil } expect(response).to eq( <<DATA -<div class='highlight--status highlight--default'> +<div class='highlight--status'> <div class='container'> <p> This is a test website, so may be inaccurate. <a href='http://www.smartsurvey.co.uk/s/ukparliament-beta-website-feedback/' target='_blank' title='website opens in a new window'>Give feedback</a> to help improve it. @@ -39,11 +39,11 @@ it 'renders a message that shows a link to register to vote' do render partial: 'pugin/components/status', locals: { status: nil } expect(response).to eq( <<DATA -<div class='highlight--status highlight--default'> +<div class='highlight--status'> <div class='container'> <p> This is a test website, so may be inaccurate. <a href='http://www.smartsurvey.co.uk/s/ukparliament-beta-website-feedback/' target='_blank' title='website opens in a new window'>Give feedback</a> to help improve it. @@ -67,11 +67,11 @@ it 'renders a message that reminds the user of the general election date' do render partial: 'pugin/components/status', locals: { status: nil } expect(response).to eq( <<DATA -<div class='highlight--status highlight--default'> +<div class='highlight--status'> <div class='container'> <p> This is a test website, so may be inaccurate. <a href='http://www.smartsurvey.co.uk/s/ukparliament-beta-website-feedback/' target='_blank' title='website opens in a new window'>Give feedback</a> to help improve it. @@ -97,10 +97,10 @@ it 'renders a message that reminds the user of the general election date' do render partial: 'pugin/components/status', locals: { status: nil } expect(response).to eq( <<DATA -<div class='highlight--status highlight--default'> +<div class='highlight--status'> <div class='container'> <p> This is a test website, so may be inaccurate. <a href='http://www.smartsurvey.co.uk/s/ukparliament-beta-website-feedback/' target='_blank' title='website opens in a new window'>Give feedback</a> to help improve it.