Sha256: 8ae98cfb052a5ff6802c4acca796b17844bb6255ce958339928ae01edadf35e5

Contents?: true

Size: 812 Bytes

Versions: 3

Compression:

Stored size: 812 Bytes

Contents

require 'koala_spec_helper'

# Runs Koala specs through the Facebook servers
#
# Note that you need a valid OAuth token and code for these
# specs to run.  See facebook_data.yml for more information.

# load testing data (see note in readme.md)
$testing_data = YAML.load_file(File.join(File.dirname(__FILE__), 'facebook_data.yml')) rescue {}

unless $testing_data["oauth_token"]
  puts "Access token tests will fail until you store a valid token in facebook_data.yml"
end

unless $testing_data["oauth_test_data"] && $testing_data["oauth_test_data"]["code"] && $testing_data["oauth_test_data"]["secret"]
  puts "OAuth code tests will fail until you store valid data for the user's OAuth code and the app secret in facebook_data.yml"
end

KoalaTest.validate_user_info $testing_data["oauth_token"]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
koala-1.0.0.beta2.1 spec/koala_spec_without_mocks.rb
koala-1.0.0.beta2 spec/koala_spec_without_mocks.rb
koala-1.0.0.beta spec/koala_spec_without_mocks.rb