Sha256: 7bc079e7e9410f62d36b14027e61d16c5f9d6dcb827fcb801f4648291aaf6faf

Contents?: true

Size: 299 Bytes

Versions: 4

Compression:

Stored size: 299 Bytes

Contents

require 'spec_helper'

describe Somadic::AudioAddict do
  it 'can refresh a playlist' do
    aa = Somadic::AudioAddict.new(4)
    songs = aa.refresh_playlist
    expect(songs.count).to be > 0
    s = songs.first
    expect(s[:title].length).to be > 0
    expect(s[:votes].length).to eql 4
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
somadic-0.0.4 spec/lib/somadic/audio_addict_spec.rb
somadic-0.0.3 spec/lib/somadic/audio_addict_spec.rb
somadic-0.0.2 spec/lib/somadic/audio_addict_spec.rb
somadic-0.0.1 spec/lib/somadic/audio_addict_spec.rb