spec/support/koala_test.rb in koala-3.0.0.beta1 vs spec/support/koala_test.rb in koala-3.0.0.beta2
- old
+ new
@@ -104,12 +104,10 @@
self.app_access_token = data["oauth_test_data"]["app_access_token"]
self.secret = data["oauth_test_data"]["secret"]
self.code = data["oauth_test_data"]["code"]
self.session_key = data["oauth_test_data"]["session_key"]
- self.vcr_oauth_token = data["vcr_data"]["oauth_token"]
-
# fix the search time so it can be used in the mock responses
self.search_time = data["search_time"] || (Time.now - 3600).to_s
end
def self.testing_permissions
@@ -181,11 +179,11 @@
end
# Data for testing
def self.user1
# user ID, either numeric or username
- test_user? ? @live_testing_user["id"] : "koppel"
+ test_user? ? @live_testing_user["id"] : "barackobama"
end
def self.user1_id
# numerical ID, used for FQL
# (otherwise the two IDs are interchangeable)
@@ -196,10 +194,10 @@
"Alex"
end
def self.user2
# see notes for user1
- test_user? ? @live_testing_friend["id"] : "lukeshepard"
+ test_user? ? @live_testing_friend["id"] : "koppel"
end
def self.user2_id
# see notes for user1
test_user? ? @live_testing_friend["id"] : 2901279