diff options
| author | Alban Peignier | 2017-12-29 17:04:24 +0100 |
|---|---|---|
| committer | Alban Peignier | 2017-12-29 17:04:24 +0100 |
| commit | 80ccf3a771a26e9770fb0a5f698647b8ef30f724 (patch) | |
| tree | fe7a5e002f4cf5833402e12973a1b59743e5df79 | |
| parent | 2b37fb8783f0ac070259b1922831372cbe7e6b18 (diff) | |
| download | chouette-core-80ccf3a771a26e9770fb0a5f698647b8ef30f724.tar.bz2 | |
Fixes selectors in imports#show specs. Refs #4473
| -rw-r--r-- | spec/views/imports/show.html.slim_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/views/imports/show.html.slim_spec.rb b/spec/views/imports/show.html.slim_spec.rb index 8576903fb..7a046d1a2 100644 --- a/spec/views/imports/show.html.slim_spec.rb +++ b/spec/views/imports/show.html.slim_spec.rb @@ -22,10 +22,10 @@ RSpec.describe '/imports/show', type: :view do messages.each do | message | # require 'htmlbeautifier' # b = HtmlBeautifier.beautify(rendered, indent: ' ') - expect(rendered).to have_selector('dl#import_messages dt.import_message') do + expect(rendered).to have_selector('.import_message-list dl dt.criticity') do with_text message.criticity end - expect(rendered).to have_selector('dl#import_messages dd.import_message') do + expect(rendered).to have_selector('.import_message-list dl dd') do with_text rendered_message( message ) end end |
