Sha256: ce801d6fac0ce39349667a03ae4de1b4f5cf54dc07faa5e84ad0e58e0bd5933a

Contents?: true

Size: 269 Bytes

Versions: 9

Compression:

Stored size: 269 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

describe Decidim::Assemblies::Abilities::Admin::AdminAbility do
  let(:user) { build(:user, :admin) }

  subject { described_class.new(user, {}) }

  it { is_expected.to be_able_to(:manage, Decidim::Assembly) }
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-0.6.8 decidim-assemblies/spec/models/abilities/admin/admin_ability_spec.rb
decidim-0.6.7 decidim-assemblies/spec/models/abilities/admin/admin_ability_spec.rb
decidim-0.6.6 decidim-assemblies/spec/models/abilities/admin/admin_ability_spec.rb
decidim-0.6.5 decidim-assemblies/spec/models/abilities/admin/admin_ability_spec.rb
decidim-0.6.4 decidim-assemblies/spec/models/abilities/admin/admin_ability_spec.rb
decidim-0.6.3 decidim-assemblies/spec/models/abilities/admin/admin_ability_spec.rb
decidim-0.6.2 decidim-assemblies/spec/models/abilities/admin/admin_ability_spec.rb
decidim-0.6.1 decidim-assemblies/spec/models/abilities/admin/admin_ability_spec.rb
decidim-0.6.0 decidim-assemblies/spec/models/abilities/admin/admin_ability_spec.rb