Sha256: bf12293b99f40ecce6eeda398f06037ec50323225799bffa741c4672e525ad6b
Contents?: true
Size: 384 Bytes
Versions: 65
Compression:
Stored size: 384 Bytes
Contents
# frozen_string_literal: true require "spec_helper" shared_examples_for "amendable interface" do describe "amendments" do let(:query) { "{ amendments { id } }" } it "includes the amendments id" do amendments_ids = response["amendments"].map { |amendment| amendment["id"].to_i } expect(amendments_ids).to include(*model.amendments.map(&:id)) end end end
Version data entries
65 entries across 65 versions & 1 rubygems