spec/support/album_mocks.rb in hallon-0.18.0 vs spec/support/album_mocks.rb in hallon-0.18.1
- old
+ new
@@ -7,24 +7,24 @@
empty: mock_empty_album
}
end
let(:mock_album) do
- Spotify.mock_album!("Finally Woken", mock_artist, 2004, mock_image_id, :single, true, true)
+ Spotify.mock_album_create("Finally Woken", mock_artist, 2004, mock_image_id, :single, true, true)
end
let(:mock_empty_album) do
- Spotify.mock_album!(nil, nil, 0, nil, :single, false, false)
+ Spotify.mock_album_create(nil, nil, 0, nil, :single, false, false)
end
let(:mock_albumbrowse) do
copyrights = %w[Kim Elin].map { |x| FFI::MemoryPointer.from_string(x) }
copyrights = pointer_array_with(*copyrights)
tracks = pointer_array_with(mock_track, mock_track_two)
review = "This album is AWESOME"
- Spotify.mock_albumbrowse(:ok, 2751, mock_album, mock_artist, 2, copyrights, 2, tracks, review, nil, nil)
+ Spotify.mock_albumbrowse_create(:ok, 2751, mock_album, mock_artist, 2, copyrights, 2, tracks, review, nil, nil)
end
let(:mock_empty_albumbrowse) do
- Spotify.mock_albumbrowse(:ok, -1, nil, nil, 0, nil, 0, nil, nil, nil, nil)
+ Spotify.mock_albumbrowse_create(:ok, -1, nil, nil, 0, nil, 0, nil, nil, nil, nil)
end
end