mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06: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-")
|
expect(user.topics_allowed.last.first_post.raw).to include("user-archive-john_doe-")
|
||||||
ensure
|
ensure
|
||||||
user.uploads.find_each { |upload| upload.destroy }
|
user.uploads.find_each { |upload| upload.destroy! }
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user