describe BeefCake::Realm do
  describe 'all' do
    it 'should return all the realms' do
      expect(described_class.all).not_to be_empty
    end
  end

  describe 'find' do
    it 'should return the realm' do
      expect(described_class.find('')).to eq(described_class::TWITCH_LDAP)
      expect(described_class.find('titan')).to eq(described_class::TITAN_SUPPORT)
    end
  end
end
