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…
Reference in New Issue