spec/unit/parser_spec.rb in prawn-icon-1.0.0 vs spec/unit/parser_spec.rb in prawn-icon-1.1.0
- old
+ new
@@ -135,10 +135,10 @@
config = Prawn::Icon::Parser.config_from_tokens(tokens)
pdf = create_pdf
icons = Prawn::Icon::Parser.keys_to_unicode(pdf, content, config)
icon = icons.first[:content]
- expect(valid_unicode?(icon)).to be_true
+ expect(valid_unicode?(icon)).to be true
end
it 'should return a single array containing attr hash of defaults' do
# Hash must contain :set and :content by default
string = '<icon>fa-arrows</icon>'