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