spec/soundcloud_user_spec.rb in soundcloud-ruby-api-wrapper-0.1.5 vs spec/soundcloud_user_spec.rb in soundcloud-ruby-api-wrapper-0.1.6
- old
+ new
@@ -51,9 +51,18 @@
it 'should find the logged in user' do
my_user = @sc.User.find_me
my_user.username.should_not be nil
end
+
+ it 'should find some fans of a user' do
+ @api_test_2.fans.count.should be >= 1
+ end
+
+ it 'should find exactly one fan / two fans' do
+ @api_test_2.fans({:limit => 1}).count.should be == 1
+ @api_test_2.fans({:limit => 2}).count.should be == 2
+ end
end