Project

General

Profile

« Previous | Next » 

Revision 9d43fc71

Added by Michael Moll almost 6 years ago

Fixes #19789 - fix Layout/SpaceAroundOperators cop

View differences:

test/unit/ui_notifications/cache_handler_test.rb
test 'should provide JSON payload' do
response = JSON.parse(UINotifications::CacheHandler.new(User.first.id).payload)
assert_equal({"notifications"=>[]}, response)
assert_equal({"notifications" => []}, response)
end
test 'should have a unique cache key per user' do

Also available in: Unified diff