Sha256: 917850683b1efe494ea6711aefe242cc7d03d4dbfea28ed0dce6dbd454c5761e
Contents?: true
Size: 578 Bytes
Versions: 117
Compression:
Stored size: 578 Bytes
Contents
module Ddr::Auth module Roles RSpec.describe RoleType do subject { described_class.new("Role Type", "Role Description", [:read, :write]) } it { should be_frozen } its(:title) { should eq("Role Type") } its(:title) { should be_frozen } its(:label) { should eq("Role Type") } its(:to_s) { should eq("Role Type") } its(:description) { should eq("Role Description") } its(:description) { should be_frozen } its(:permissions) { should eq([:read, :write]) } its(:permissions) { should be_frozen } end end end
Version data entries
117 entries across 117 versions & 1 rubygems