Sha256: acbafc4323c8dc284636f64d9b91ca9f7e3ba60b4217e3f6cb5a22f08886064b

Contents?: true

Size: 536 Bytes

Versions: 5

Compression:

Stored size: 536 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../test_helper')
require File.expand_path(File.dirname(__FILE__) + '/../../../lib/facebooker/rails/integration_session')
class Facebooker::Rails::IntegrationSessionTest < Test::Unit::TestCase 
  def test_include_api_key_in_default_request_params
    ENV['FACEBOOK_API_KEY'] = 'a key'
    integration_session = Facebooker::Rails::IntegrationSession.new
    integration_session.reset!
    assert_equal 'a key', integration_session.default_request_params[ :fb_sig_api_key ]
  end
end

Version data entries

5 entries across 5 versions & 4 rubygems

Version Path
mmangino-facebooker-1.0.44 test/facebooker/rails/integration_session_test.rb
mmangino-facebooker-1.0.45 test/facebooker/rails/integration_session_test.rb
taweili-facebooker-1.0.45 test/facebooker/rails/integration_session_test.rb
zerobearing2-facebooker-1.0.46 test/facebooker/rails/integration_session_test.rb
facebooker-1.0.44 test/facebooker/rails/integration_session_test.rb