Sha256: 93bfa3f31e4491a81465062d1e72d5ca9e505dfc61d6b9b64ac3f00f7b628c54

Contents?: true

Size: 635 Bytes

Versions: 11

Compression:

Stored size: 635 Bytes

Contents

require File.dirname(__FILE__) + '/../../../lib/mp3file'
require File.dirname(__FILE__) + '/../../common_helpers'

include CommonHelpers

describe Mp3file::ID3v2::Tag do
  describe "An empty tag" do
    subject { Mp3file::ID3v2::Tag.new(StringIO.new("ID3\x03\x00\x00\x00\x00\x00\x00")) }
    its(:version) { should == Mp3file::ID3v2::ID3V2_3_0 }
    its(:unsynchronized) { should == false }
    its(:extended_header) { should == false }
    its(:compression) { should == false }
    its(:experimental) { should == false }
    its(:footer) { should == false }
    its(:size) { should == 10 }
    its(:frames) { should == [] }
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
mp3file-1.2.0 spec/mp3file/id3v2/tag_spec.rb
mp3file-1.1.5 spec/mp3file/id3v2/tag_spec.rb
mp3file-1.1.4 spec/mp3file/id3v2/tag_spec.rb
mp3file-1.1.3 spec/mp3file/id3v2/tag_spec.rb
mp3file-1.1.2 spec/mp3file/id3v2/tag_spec.rb
mp3file-1.1.1 spec/mp3file/id3v2/tag_spec.rb
mp3file-1.1.0 spec/mp3file/id3v2/tag_spec.rb
mp3file-1.0.3 spec/mp3file/id3v2/tag_spec.rb
mp3file-1.0.2 spec/mp3file/id3v2/tag_spec.rb
mp3file-1.0.1 spec/mp3file/id3v2/tag_spec.rb
mp3file-1.0.0 spec/mp3file/id3v2/tag_spec.rb