mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 01:16:38 -06:00
Fix failing spec
The Report class created its own BackupStore without a stubbed S3 client
This commit is contained in:
parent
b75a3e391a
commit
84a10f8212
@ -81,9 +81,11 @@ shared_examples "backup store" do
|
||||
end
|
||||
|
||||
describe "#reset_cache" do
|
||||
skip "resets the storage stats report" do
|
||||
it "resets the storage stats report" do
|
||||
Report.stubs(:report_storage_stats)
|
||||
report_type = "storage_stats"
|
||||
report = Report.find(report_type)
|
||||
|
||||
Report.cache(report, 35.minutes)
|
||||
expect(Report.find_cached(report_type)).to be_present
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user