spec/henkei_spec.rb in henkei-1.14.1 vs spec/henkei_spec.rb in henkei-1.14.2

- old
+ new

@@ -120,11 +120,11 @@ specify '#text reads text' do expect( henkei.text).to include 'The quick brown fox jumped over the lazy cat.' end specify '#metadata reads metadata' do - expect( henkei.metadata['Content-Type'] ).to eql ["application/vnd.apple.pages", "application/vnd.apple.pages"] + expect( henkei.metadata['Content-Type'] ).to eql ['application/vnd.apple.pages', 'application/vnd.apple.pages'] end end context 'initialized with a given URI' do let(:henkei) { Henkei.new 'http://svn.apache.org/repos/asf/poi/trunk/test-data/document/sample.docx' } @@ -144,10 +144,10 @@ specify '#text reads text' do expect( henkei.text ).to include 'The quick brown fox jumped over the lazy cat.' end specify '#metadata reads metadata' do - expect( henkei.metadata['Content-Type'] ).to eql ["application/vnd.apple.pages", "application/vnd.apple.pages"] + expect( henkei.metadata['Content-Type'] ).to eql ['application/vnd.apple.pages', 'application/vnd.apple.pages'] end end context 'working as server mode' do specify '#starts and kills server' do