spec/soundcloud_user_spec.rb in soundcloud-ruby-api-wrapper-0.1.3 vs spec/soundcloud_user_spec.rb in soundcloud-ruby-api-wrapper-0.1.5
- old
+ new
@@ -46,9 +46,14 @@
track2 = @sc.Track.find('track2-2')
@api_test_2.has_favorite?(track1).should be true
@api_test_2.has_favorite?(track1.id).should be true
@api_test_2.has_favorite?(track2).should be false
end
+
+ it 'should find the logged in user' do
+ my_user = @sc.User.find_me
+ my_user.username.should_not be nil
+ end
end