Fix test
This commit is contained in:
parent
7f1c634996
commit
aa1552db81
1 changed files with 3 additions and 1 deletions
|
|
@ -37,7 +37,9 @@ class ReportsTest < ApplicationSystemTestCase
|
|||
|
||||
test "should destroy Report" do
|
||||
visit report_url(@report)
|
||||
click_on "Prüfbericht löschen", match: :first
|
||||
accept_confirm do
|
||||
click_on "Prüfbericht löschen", match: :first
|
||||
end
|
||||
assert_text("Prüfberichte")
|
||||
assert(Report.exists?(@report.id) == false)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue