Sha256: 68f1e0b58cb2bfa88cd2c828c098417e113b1648153574cbcdf634d60fbac1e3

Contents?: true

Size: 253 Bytes

Versions: 21

Compression:

Stored size: 253 Bytes

Contents

# frozen_string_literal: true

module AssertionSupport
  module Minitest::Assertions
    def assert_picked_elements_are_same(expected, actual, pick_by = "id")
      assert_equal expected.pluck(pick_by).sort, actual.pluck(pick_by).sort
    end
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
neeto-commons-backend-1.0.89 lib/neeto_commons_backend/common_files/test/support/assertion_support.rb