spec/mock_facebook_responses.yml in koala-0.10.0 vs spec/mock_facebook_responses.yml in koala-1.0.0.beta
- old
+ new
@@ -80,11 +80,19 @@
post:
with_token: '{"id": "FEED_ITEM_DELETE"}'
link=http://www.contextoptional.com/&message=Hello, world, from the test suite again!&name=Context Optional:
post:
with_token: '{"id": "FEED_ITEM_CONTEXT"}'
-
+ /me/photos:
+ source=[FILE]:
+ post:
+ <<: *token_required
+ with_token: '{"id": "MOCK_PHOTO"}'
+ message=This is the test message&source=[FILE]:
+ post:
+ <<: *token_required
+ with_token: '{"id": "MOCK_PHOTO"}'
/koppel:
no_args:
get:
with_token: '{"id": 1, "name": 1, "updated_time": 1}'
no_token: '{"id": 1, "name": 1}'
@@ -235,16 +243,27 @@
with_token: '{"message": "the cats are asleep"}'
/FEED_ITEM_DELETE:
no_args:
<<: *item_deleted
-
+
+ /FEED_ITEM_DELETE/likes:
+ no_args:
+ <<: *item_deleted
+ post:
+ with_token: 'true'
+
/MOCK_COMMENT:
no_args:
<<: *item_deleted
get:
with_token: "{\"message\": \"it\'s my comment!\"}"
+ /MOCK_PHOTO:
+ no_args:
+ <<: *item_deleted
+ get:
+ with_token: "{\"name\": \"This is the test message\"}"
# -- Mock Test User Responses --
/<%= APP_ID %>/accounts/test-users:
installed=false:
<<: *test_user_no_perms
@@ -283,7 +302,6 @@
with_token: 'true'
/888888888/friends/999999999:
no_args:
get:
- with_token: 'true'
-
\ No newline at end of file
+ with_token: 'true'