Sha256: 1c60d2ecf5f71dec2594f52651105add1ce0e824ac53e6b457ea1699fb118fa3
Contents?: true
Size: 520 Bytes
Versions: 6
Compression:
Stored size: 520 Bytes
Contents
require 'helper' class TestArtist < Test::Unit::TestCase context "Given a new Artist" do setup do @href = 'http://jrmehle.com/' @display_name = 'Artist Name' @artist = Songkickr::Artist.new({'href' => @href, 'displayName' => @display_name}) end should "init href" do assert_not_nil @artist assert_equal @href, @artist.href end should "init display_name" do assert_not_nil @artist assert_equal @display_name, @artist.display_name end end end
Version data entries
6 entries across 6 versions & 1 rubygems