Sha256: 2dc922077fc1db043b3c5d7a46bfd453247100989a07f903fe40ca96ab52d3ce
Contents?: true
Size: 440 Bytes
Versions: 15
Compression:
Stored size: 440 Bytes
Contents
# frozen_string_literal: true RSpec.shared_examples 'Roles' do context 'AAF shared implementation' do subject { build :role } it { is_expected.to be_valid } it { is_expected.to respond_to(:api_subjects) } it { is_expected.to respond_to(:subjects) } it { is_expected.to respond_to(:permissions) } it 'is invalid without a name' do subject.name = nil expect(subject).not_to be_valid end end end
Version data entries
15 entries across 15 versions & 1 rubygems