test/test_client.rb in whatser-0.4.0 vs test/test_client.rb in whatser-0.5.0
- old
+ new
@@ -65,12 +65,11 @@
def test_resources
client = Whatser::Client.new
assert_equal Whatser::CheckIn, client.check_ins
assert_equal Whatser::Collection, client.collections
- assert_equal Whatser::DataSource, client.data_sources
- assert_equal Whatser::Detail, client.details
+ assert_equal Whatser::Comment, client.comments
assert_equal Whatser::Media, client.media
assert_equal Whatser::Poi, client.spots
assert_equal Whatser::Subscription, client.subscriptions
assert_equal Whatser::Tag, client.tags
assert_equal Whatser::User, client.users
@@ -80,11 +79,10 @@
assert_equal Whatser::Gowalla, client.gowalla
assert_equal Whatser::Twitter, client.twitter
assert_equal client, client.check_ins.client
assert_equal client, client.collections.client
- assert_equal client, client.data_sources.client
- assert_equal client, client.details.client
+ assert_equal client, client.comments.client
assert_equal client, client.media.client
assert_equal client, client.spots.client
assert_equal client, client.subscriptions.client
assert_equal client, client.tags.client
assert_equal client, client.users.client