Sha256: e58f139f1bb7a1f920ef73495990c8656154e142b2240318271c3023df2a7d85
Contents?: true
Size: 541 Bytes
Versions: 15
Compression:
Stored size: 541 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' require 'gumboot/shared_examples/api_constraints' require 'api_constraints' RSpec.describe APIConstraints do let(:matching_request) do headers = { 'Accept' => 'application/vnd.aaf.example.v1+json' } instance_double(ActionDispatch::Request, headers: headers) end let(:non_matching_request) do headers = { 'Accept' => 'application/vnd.aaf.example.v2+json' } instance_double(ActionDispatch::Request, headers: headers) end include_examples 'API constraints' end
Version data entries
15 entries across 15 versions & 1 rubygems