aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views
diff options
context:
space:
mode:
Diffstat (limited to 'spec/views')
-rw-r--r--spec/views/imports/show.html.slim_spec.rb4
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