mirror of
https://github.com/discourse/discourse.git
synced 2025-03-01 00:39:17 +00:00
further optimize spec
This commit is contained in:
parent
0e38481d6d
commit
65be3c627d
@ -18,7 +18,7 @@ describe Jobs::ExportCsvFile do
|
||||
))
|
||||
expect(user.topics_allowed.last.first_post.raw).to include("user-archive-john_doe-")
|
||||
ensure
|
||||
user.uploads.find_each { |upload| upload.destroy }
|
||||
user.uploads.find_each { |upload| upload.destroy! }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user