Sha256: 00746d8b028b81a5cb5a4e8a7fdd233e4bbb27c843421d99fcd6be52d4fbdc1d
Contents?: true
Size: 306 Bytes
Versions: 2
Compression:
Stored size: 306 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' RSpec.describe SolidusGraphqlApi::Queries::Taxon::ChildrenQuery do let(:taxon) { create(:taxon) } let!(:children) { create_list(:taxon, 2, parent: taxon) } it { expect(described_class.new(taxon: taxon).call.sync).to match_array(children) } end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_graphql_api-0.2.0 | spec/lib/solidus_graphql_api/queries/taxon/children_query_spec.rb |
solidus_graphql_api-0.1.0 | spec/lib/solidus_graphql_api/queries/taxon/children_query_spec.rb |