Sha256: f901ce432749ab88d1cf0156afeb9605c9bf5c3a0f41ccafbb98f2f386ba65d9

Contents?: true

Size: 514 Bytes

Versions: 12

Compression:

Stored size: 514 Bytes

Contents

require 'helper'

class TestArtist < Test::Unit::TestCase
  context "Given a new Artist" do
    setup do
      @uri = 'http://jrmehle.com/'
      @display_name = 'Artist Name'
      @artist = Songkickr::Artist.new({'uri' => @uri, 'displayName' => @display_name})
    end

    should "init uri" do
      assert_not_nil @artist
      assert_equal @uri, @artist.uri
    end
    
    should "init display_name" do
      assert_not_nil @artist
      assert_equal @display_name, @artist.display_name
    end
  end  
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
songkickr-0.5.4 test/songkickr/test_artist.rb
songkickr-0.5.3 test/songkickr/test_artist.rb
songkickr-0.5.2 test/songkickr/test_artist.rb
songkickr-0.5.0 test/songkickr/test_artist.rb
songkickr-0.4.1 test/songkickr/test_artist.rb
songkickr-0.4.0 test/songkickr/test_artist.rb
songkickr-0.3.3 test/songkickr/test_artist.rb
songkickr-0.3.2 test/songkickr/test_artist.rb
songkickr-0.3.1 test/songkickr/test_artist.rb
songkickr-0.3.0 test/songkickr/test_artist.rb
songkickr-0.2.2 test/songkickr/test_artist.rb
songkickr-0.2.1 test/songkickr/test_artist.rb