diff options
| author | Luc Donnet | 2018-01-03 16:21:22 +0100 |
|---|---|---|
| committer | Luc Donnet | 2018-01-03 16:21:22 +0100 |
| commit | c29270e53191723dafd12461a3bb4c054c1602fd (patch) | |
| tree | 0aa129d69e6b357c53942d115de645bcfb52d2e4 /spec | |
| parent | e3b26ccda3f18661538e411c66a9c47d7bfe04ea (diff) | |
| download | chouette-core-c29270e53191723dafd12461a3bb4c054c1602fd.tar.bz2 | |
Fix import messages style Refs #4473 @2
Diffstat (limited to 'spec')
| -rw-r--r-- | spec/views/imports/show.html.slim_spec.rb | 5 |
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 |
