Favorite and playlist models

This commit is contained in:
magnolia-fan
2011-06-22 04:05:12 +04:00
parent 9531230f6e
commit 9558f720ca
13 changed files with 143 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
user_id: 1
artist_id: 1
album_id: 1
track_id: 1
two:
user_id: 1
artist_id: 1
album_id: 1
track_id: 1
+9
View File
@@ -0,0 +1,9 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
playlist_id: 1
track_id: 1
two:
playlist_id: 1
track_id: 1
+9
View File
@@ -0,0 +1,9 @@
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
one:
user_id: 1
name: MyString
two:
user_id: 1
name: MyString
+8
View File
@@ -0,0 +1,8 @@
require 'test_helper'
class FavoriteTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end
+8
View File
@@ -0,0 +1,8 @@
require 'test_helper'
class PlaylistItemTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end
+8
View File
@@ -0,0 +1,8 @@
require 'test_helper'
class PlaylistTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end