mirror of
https://github.com/discourse/discourse.git
synced 2025-05-23 09:22:42 +08:00
Check for updates: edge cases when the message on the dashboard doesn't make sense.
This commit is contained in:
@ -6,6 +6,7 @@ describe Admin::DashboardController do
|
||||
#NOTE: Rails.cache should be blanked between tests, at the moment we can share state with it
|
||||
# that is seriously bust on quite a few levels
|
||||
Rails.cache.delete("admin-dashboard-data-#{Discourse::VERSION::STRING}")
|
||||
Jobs::VersionCheck.any_instance.stubs(:execute).returns(true)
|
||||
end
|
||||
|
||||
it "is a subclass of AdminController" do
|
||||
|
Reference in New Issue
Block a user