Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 285b819611
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (12 sloc) 0.345 kb
require 'helper'
context "Artist" do
fixtures do
@artist = Play::Artist.create(:name => "Justice")
@song = Play::Song.create(:title => "Stress", :artist => @artist)
@user = User.create
end
test "enqueueing ten songs" do
Song.any_instance.expects(:enqueue!).with(@user).times(1)
@artist.enqueue!(@user)
end
end
Jump to Line
Something went wrong with that request. Please try again.