[#4649] Change the flash message to say deleted and not destroyed
This commit is contained in:
1 parent
71c3d114ed
commit
5a0cb948c9
3 files changed
+5
-2
No files matched your search
@@ -39,6 +39,9 @@ class DeliverablesDeleteTest < ActionController::IntegrationTest
|
||||
assert_response :success
|
||||
assert_template 'contracts/show'
|
||||
|
||||
assert_select '.flash.notice', /successfully deleted/
|
||||
|
||||
|
||||
assert_nil Deliverable.find_by_id(@deliverable.id), "Deliverable not deleted"
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user