kagu 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/kagu/playlist.rb +4 -0
- data/spec/kagu/playlist_spec.rb +4 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 33bafbee99de5e86689338f8355f5c13a38261e1
|
4
|
+
data.tar.gz: 6f01cf5d29c37e5c6e44c05a9a6afb79ae5194eb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dc791834ee2e89f7108ffbe05c6b8320b48c30d346022ea9c7a3b2090b8da738c8b202afbb722aa350ac8739ad7399b0c0c7ff9fbabf286c2710289b1e887bb9
|
7
|
+
data.tar.gz: d08fd8f78bcc5b5732a967e7f164cb3d5044bb65d2c9a3e092798318652846d8f719154cf73376d708ea77abcd8cab6349e67b4696f42dd9a0569e74971fea32
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/lib/kagu/playlist.rb
CHANGED
data/spec/kagu/playlist_spec.rb
CHANGED
@@ -57,6 +57,10 @@ describe Kagu::Playlist do
|
|
57
57
|
|
58
58
|
describe '#tracks' do
|
59
59
|
|
60
|
+
it 'is an empty array by default' do
|
61
|
+
expect(Kagu::Playlist.new(name: 'Test').tracks).to eq([])
|
62
|
+
end
|
63
|
+
|
60
64
|
it 'is tracks given at initialization' do
|
61
65
|
expect(Kagu::Playlist.new(name: 'Test', tracks: tracks).tracks).to eq(tracks)
|
62
66
|
end
|