Sha256: 7030fdde33aa99359a92d51bf369e3f26adb1d2f0a2a680ed2fc00da52dea02c
Contents?: true
Size: 317 Bytes
Versions: 9
Compression:
Stored size: 317 Bytes
Contents
# frozen_string_literal: true require "spec_helper" describe Decidim::Assemblies::Abilities::EveryoneAbility do let(:user) { build(:user) } subject { described_class.new(user, {}) } it "lets the user read assemblies" do expect(subject.permissions[:can][:read]).to include("Decidim::Assembly") end end
Version data entries
9 entries across 9 versions & 1 rubygems