Sha256: 6edef125a3e76f64800516a893a879c50547c05198d0757605472a2ffa21e69b

Contents?: true

Size: 299 Bytes

Versions: 36

Compression:

Stored size: 299 Bytes

Contents

require 'spec_helper'
require 'cancan/matchers'

module Ddr
  module Auth
    RSpec.describe Superuser, type: :model, abilities: true do
      subject { described_class.new }
      it "should be able to manage all" do
        expect(subject).to be_able_to(:manage, :all)
      end
    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
ddr-models-1.17.1 spec/models/superuser_spec.rb
ddr-models-1.17.0 spec/models/superuser_spec.rb
ddr-models-1.16.2 spec/models/superuser_spec.rb
ddr-models-1.16.1 spec/models/superuser_spec.rb
ddr-models-1.16.0 spec/models/superuser_spec.rb
ddr-models-1.15.0 spec/models/superuser_spec.rb
ddr-models-1.14.2 spec/models/superuser_spec.rb
ddr-models-1.14.1 spec/models/superuser_spec.rb
ddr-models-1.14.0 spec/models/superuser_spec.rb
ddr-models-1.13.2 spec/models/superuser_spec.rb
ddr-models-1.13.1 spec/models/superuser_spec.rb
ddr-models-1.13.0 spec/models/superuser_spec.rb
ddr-models-1.11.8 spec/models/superuser_spec.rb
ddr-models-1.12.3 spec/models/superuser_spec.rb
ddr-models-1.11.7 spec/models/superuser_spec.rb
ddr-models-1.12.2 spec/models/superuser_spec.rb
ddr-models-1.11.6 spec/models/superuser_spec.rb
ddr-models-1.12.1 spec/models/superuser_spec.rb
ddr-models-1.11.5 spec/models/superuser_spec.rb
ddr-models-1.12.0 spec/models/superuser_spec.rb