Sha256: 5e22a4f1658b9fd0b033c147b73e51d4597a9e54adf7d009b9c728d7d8e18a29
Contents?: true
Size: 679 Bytes
Versions: 5
Compression:
Stored size: 679 Bytes
Contents
require 'spotify_to_mp3' module SpotifyToMp3 describe TrackIdResolver do before(:each) do @resolver = DependencyInjection.new.track_id_resolver end it "resolves Spotify HTTP URLs" do track = @resolver.resolve('http://open.spotify.com/track/0qgiFuYhYuwtFXEwYakddE') track.to_s.should == "Cake - I Will Survive" end it "resolves Spotify URIs" do track = @resolver.resolve('spotify:track:0qgiFuYhYuwtFXEwYakddE') track.to_s.should == "Cake - I Will Survive" end it "resolves track titles" do track = @resolver.resolve('Cake - I Will Survive') track.to_s.should == "Cake - I Will Survive" end end end
Version data entries
5 entries across 5 versions & 1 rubygems