spec/rack/musicindex_spec.rb in rack-musicindex-0.0.2 vs spec/rack/musicindex_spec.rb in rack-musicindex-0.1.0

- old
+ new

@@ -34,13 +34,15 @@ channel.xpath('title')[0].content.should eql('/foo') channel.xpath('description')[0].content.should eql('Generated by Rack::MusicIndex') items.size.should eql(1) - item.xpath('title')[0].content.should eql('test.mp3') + item.xpath('title')[0].content.should eql('bar') item.xpath('link')[0].content.should eql('http://example.org/foo/test.mp3') item.xpath('guid')[0].content.should eql('http://example.org/foo/test.mp3') item.xpath('enclosure')[0]['url'].should eql('http://example.org/foo/test.mp3') + item.xpath('author')[0].content.should eql('foo') + item.xpath('itunes:author')[0].content.should eql('foo') end it 'should reflect file changes without restart' do get '/foo'