Sha256: d71f04dc8334cb88a39ac45695ed720557bd33dcd9a4bd41de9a9da5cbe3ff93

Contents?: true

Size: 545 Bytes

Versions: 56

Compression:

Stored size: 545 Bytes

Contents

require File.expand_path(File.dirname(__FILE__) + '/../../rails_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

56 entries across 56 versions & 17 rubygems

Version Path
micahwedemeyer-facebooker-1.0.50 test/facebooker/rails/integration_session_test.rb
micahwedemeyer-facebooker-1.0.51 test/facebooker/rails/integration_session_test.rb
mmangino-facebooker-1.0.46 test/facebooker/rails/integration_session_test.rb
mmangino-facebooker-1.0.47 test/facebooker/rails/integration_session_test.rb
mmangino-facebooker-1.0.48 test/facebooker/rails/integration_session_test.rb
mmangino-facebooker-1.0.49 test/facebooker/rails/integration_session_test.rb
mmangino-facebooker-1.0.50 test/facebooker/rails/integration_session_test.rb
pomartel-facebooker-1.0.45 test/facebooker/rails/integration_session_test.rb
pomartel-facebooker-1.0.47 test/facebooker/rails/integration_session_test.rb
simianarmy-facebooker-1.0.50 test/facebooker/rails/integration_session_test.rb
simianarmy-facebooker-1.0.51 test/facebooker/rails/integration_session_test.rb
taweili-facebooker-1.0.47 test/facebooker/rails/integration_session_test.rb
taweili-facebooker-1.0.50 test/facebooker/rails/integration_session_test.rb
facebooker-1.0.75 test/facebooker/rails/integration_session_test.rb
sentientmonkey-facebooker-1.0.74 test/facebooker/rails/integration_session_test.rb
facebooker-micah-1.0.74 test/facebooker/rails/integration_session_test.rb
facebooker-1.0.74 test/facebooker/rails/integration_session_test.rb
facebooker-1.0.73 test/facebooker/rails/integration_session_test.rb
facebooker-1.0.72 test/facebooker/rails/integration_session_test.rb
facebooker-1.0.71 test/facebooker/rails/integration_session_test.rb