Sha256: 36459fcd6e453a8fe5d43057a628a53440d4b60ea451e9d1599c706bdc09d319

Contents?: true

Size: 463 Bytes

Versions: 6

Compression:

Stored size: 463 Bytes

Contents

module InfinumJsonApiSetup
  module RSpec
    module Matchers
      # @param [Array<Integer>] required_ids
      # @return [InfinumJsonApiSetup::Rspec::Matchers::IncludeAllResourceStringIds]
      def include_all_resource_string_ids(required_ids)
        IncludeAllResourceStringIds.new(required_ids)
      end

      class IncludeAllResourceStringIds < IncludeAllResourceIds
        def process_actual_id(id)
          id
        end
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
infinum_json_api_setup-0.0.8 lib/infinum_json_api_setup/rspec/matchers/include_all_resource_string_ids.rb
infinum_json_api_setup-0.0.7 lib/infinum_json_api_setup/rspec/matchers/include_all_resource_string_ids.rb
infinum_json_api_setup-0.0.6 lib/infinum_json_api_setup/rspec/matchers/include_all_resource_string_ids.rb
infinum_json_api_setup-0.0.5 lib/infinum_json_api_setup/rspec/matchers/include_all_resource_string_ids.rb
infinum_json_api_setup-0.0.4 lib/infinum_json_api_setup/rspec/matchers/include_all_resource_string_ids.rb
infinum_json_api_setup-0.0.3 lib/infinum_json_api_setup/rspec/matchers/include_all_resource_string_ids.rb