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