Project

General

Profile

« Previous | Next » 

Revision 630061d2

Added by Michael Moll almost 6 years ago

Fixes #19775 - Fix Layout/ExtraSpacing cop

View differences:

test/controllers/api/v2/auth_sources_controller_test.rb
assert_response :success
auth_sources = ActiveSupport::JSON.decode(@response.body)
refute_empty auth_sources
ids = auth_sources['results'].map { |hash| hash['id'] }
ids = auth_sources['results'].map { |hash| hash['id'] }
assert_includes ids, auth_sources(:internal).id
assert_includes ids, auth_sources(:external).id
assert_includes ids, auth_sources(:one).id

Also available in: Unified diff