aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views
diff options
context:
space:
mode:
authorLuc Donnet2018-01-03 16:21:22 +0100
committerLuc Donnet2018-01-03 16:21:22 +0100
commitc29270e53191723dafd12461a3bb4c054c1602fd (patch)
tree0aa129d69e6b357c53942d115de645bcfb52d2e4 /spec/views
parente3b26ccda3f18661538e411c66a9c47d7bfe04ea (diff)
downloadchouette-core-c29270e53191723dafd12461a3bb4c054c1602fd.tar.bz2
Fix import messages style Refs #4473 @2
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/imports/show.html.slim_spec.rb5
1 files changed, 1 insertions, 4 deletions
diff --git a/spec/views/imports/show.html.slim_spec.rb b/spec/views/imports/show.html.slim_spec.rb
index 7a046d1a2..faf473758 100644
--- a/spec/views/imports/show.html.slim_spec.rb
+++ b/spec/views/imports/show.html.slim_spec.rb
@@ -22,10 +22,7 @@ RSpec.describe '/imports/show', type: :view do
messages.each do | message |
# require 'htmlbeautifier'
# b = HtmlBeautifier.beautify(rendered, indent: ' ')
- expect(rendered).to have_selector('.import_message-list dl dt.criticity') do
- with_text message.criticity
- end
- expect(rendered).to have_selector('.import_message-list dl dd') do
+ expect(rendered).to have_selector('.import_message-list li') do
with_text rendered_message( message )
end
end