Sha256: ec80ee1ab962d0e75f0b6d05446d5f8dd0bff1d3e6b978943d1bcdb9c05fcd2e

Contents?: true

Size: 806 Bytes

Versions: 1

Compression:

Stored size: 806 Bytes

Contents

require 'spec_helper'

describe Mog::Client do
  before(:each) do
    @client = Mog::Client.new
  end

  use_vcr_cassette :record => :new_episodes, :match_requests_on => [:uri, :method]

  describe '.albums' do
    it 'should return an array of albums' do
      albums = @client.albums
      albums.should be_kind_of Array
    end
  end

  describe '.artists' do
    it 'should return an array of artists' do
      albums = @client.artists
      albums.should be_kind_of Array
    end
  end

  describe '.tracks' do
    it 'should return an array of tracks' do
      albums = @client.tracks
      albums.should be_kind_of Array
    end
  end

  describe '.playlists' do
    it 'should return an array of playlists' do
      albums = @client.playlists
      albums.should be_kind_of Array
    end
  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mog-0.0.1 spec/mog_client_spec.rb