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