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

18 lines (14 sloc) 0.298 kb
require 'helper'
context "Play" do
setup do
end
test "path" do
Play.expects(:config).returns({'path' => '/tmp/play'})
assert_equal '/tmp/play', Play.path
end
test "now playing" do
@song = Play::Song.create
@song.play!
assert_equal @song, Play.now_playing
end
end
Jump to Line
Something went wrong with that request. Please try again.