Sha256: 628c842652ef337204b7ba70fe76d5021b9be9c19b6177b01fbb434b31d96dcd
Contents?: true
Size: 439 Bytes
Versions: 38
Compression:
Stored size: 439 Bytes
Contents
# frozen_string_literal: true require "spec_helper" shared_examples_for "categorizable interface" do let!(:category) { create(:category, participatory_space: model.participatory_space) } before do model.update(category: category) end describe "category" do let(:query) { "{ category { id } }" } it "has a category" do expect(response).to include("category" => { "id" => category.id.to_s }) end end end
Version data entries
38 entries across 38 versions & 1 rubygems