view .svn/pristine/c8/c8bf21d1404b2daaac7abe315bbaa50d1e93dc11.svn-base @ 1368:987e71e73116 bibliography_testing

Setup of testing framework for the bibliography plugin.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Tue, 20 Aug 2013 18:00:06 +0100
parents cbb26bc654de
children
line wrap: on
line source
begin
  require 'openid'
rescue LoadError
  begin
    gem 'ruby-openid', '>=2.1.4'
  rescue Gem::LoadError
    # no openid support
  end
end

if Object.const_defined?(:OpenID)
  config.to_prepare do
    OpenID::Util.logger = Rails.logger
    ActionController::Base.send :include, OpenIdAuthentication
  end
end