Verified Commit 2359bc22 authored by Kaspar Vollenweider's avatar Kaspar Vollenweider 👻
Browse files

fix two broken specs

parent b4378ac3
......@@ -68,7 +68,7 @@ nav.navbar.hidden-print
= button_link 'Emails versenden', send_trial_period_reminder_mailing_path(@reminder_mailing)
- else
= button_link 'Email versenden', send_termination_assignment_reminder_mailing_path(@reminder_mailing)
li= button_link icon_span('back'), terminated_index_assignments_path
li= button_link icon_span(:back), terminated_index_assignments_path
li= button_link 'Email Ändern', edit_reminder_mailing_path(@reminder_mailing)
li= link_to 'Abbrechen', reminder_mailing_path(@reminder_mailing), confirm_deleting(@reminder_mailing, 'btn btn-default')
- else
......
......@@ -17,9 +17,9 @@ class ClientNotificationsTest < ApplicationSystemTestCase
assert page.has_text? @client_notification.body
within 'tr.bg-success' do
assert page.has_text? @client_notification.body
assert page.has_selector?('table > tbody td:nth-child(2) i.glyphicon-ok')
assert page.has_selector?('table > tbody td:nth-child(2) span.glyphicon-ok')
refute page.has_text? @other_client_notification.body
refute page.has_selector?('table > tbody td:nth-child(2) i.glyphicon-remove')
refute page.has_selector?('table > tbody td:nth-child(2) span.glyphicon-remove')
end
end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment