Sha256: a0fc2ea24845142fccdccc4c6ab4207841d855b5e9877476717aecc16bebe369
Contents?: true
Size: 305 Bytes
Versions: 4
Compression:
Stored size: 305 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' RSpec.describe SolidusGraphqlApi::Queries::Taxon::ParentTaxonQuery do let(:parent_taxon) { create(:taxon) } let(:taxon) { create(:taxon, parent: parent_taxon) } it { expect(described_class.new(taxon: taxon).call.sync).to eq(parent_taxon) } end
Version data entries
4 entries across 4 versions & 1 rubygems