Sha256: 8017a750c56efcefed947d7b55d4980a9fbb642e52ec00fc31c05880fbdc82b9
Contents?: true
Size: 552 Bytes
Versions: 16
Compression:
Stored size: 552 Bytes
Contents
# frozen_string_literal: true require 'rails_helper' describe DocTemplate::Template do context 'Tags management' do describe '.unregister_tag' do let(:tag_name) { 'Tag name' } subject { described_class.unregister_tag tag_name } before { described_class.register_tag tag_name, Object } it 'removes specified tag from the list of registered' do expect(described_class.tags.keys).to include(tag_name) subject expect(described_class.tags.keys).to_not include(tag_name) end end end end
Version data entries
16 entries across 16 versions & 1 rubygems