spec/support/koala_test.rb in koala-1.11.1 vs spec/support/koala_test.rb in koala-2.0.0rc1

- old
+ new

@@ -1,11 +1,11 @@ # small helper method for live testing module KoalaTest class << self attr_accessor :oauth_token, :app_id, :secret, :app_access_token, :code, :session_key - attr_accessor :oauth_test_data, :subscription_test_data, :search_time + attr_accessor :oauth_test_data, :subscription_test_data attr_accessor :test_user_api attr_accessor :vcr_oauth_token end # Test setup @@ -105,12 +105,9 @@ 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 "read_stream, publish_actions, user_photos, user_videos, read_insights" end