mirror of
https://github.com/discourse/discourse.git
synced 2025-09-08 12:06:51 +08:00
Add rubocop to our build. (#5004)
This commit is contained in:
parent
ff4e295c4f
commit
5012d46cbd
871 changed files with 5480 additions and 6056 deletions
|
@ -3,7 +3,7 @@ require_dependency 'discourse_version_check'
|
|||
|
||||
describe Admin::DashboardController do
|
||||
before do
|
||||
AdminDashboardData.stubs(:fetch_cached_stats).returns({reports:[]})
|
||||
AdminDashboardData.stubs(:fetch_cached_stats).returns(reports: [])
|
||||
Jobs::VersionCheck.any_instance.stubs(:execute).returns(true)
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue