Sha256: 495c60018d1d131427a037016d73b983e69129bc59de1769054b8b24a3359a49

Contents?: true

Size: 367 Bytes

Versions: 5

Compression:

Stored size: 367 Bytes

Contents

require 'rubygems'
require 'm3uzzi'
require 'test/unit'
require 'shoulda'

class M3UziTest < Test::Unit::TestCase

  should "instantiate an M3Uzi object" do
    m3u = M3Uzi.new
    assert_equal M3Uzi, m3u.class
  end

  should "read in an index file" do
    m3u = M3Uzi.read_file("#{Rails.root}/test/fixtures/index.m3u8")
    assert_equal M3Uzi, m3u.class
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
m3uzi-0.1.4 test/m3uzzi_test.rb
m3uzi-0.1.3 test/m3uzzi_test.rb
m3uzi-0.1.2 test/m3uzzi_test.rb
m3uzi-0.1.1 test/m3uzzi_test.rb
m3uzi-0.1.0 test/m3uzzi_test.rb