2013-08-01 10:33:49 +08:00
|
|
|
require 'test/unit'
|
|
|
|
require 'rubygems'
|
|
|
|
|
|
|
|
gem 'activesupport'
|
|
|
|
require 'active_support'
|
|
|
|
|
|
|
|
gem 'actionpack'
|
|
|
|
require 'action_controller'
|
|
|
|
|
|
|
|
gem 'mocha'
|
2014-07-14 10:27:54 +08:00
|
|
|
require 'mocha/setup'
|
2013-08-01 10:33:49 +08:00
|
|
|
|
|
|
|
gem 'ruby-openid'
|
|
|
|
require 'openid'
|
|
|
|
|
|
|
|
RAILS_ROOT = File.dirname(__FILE__) unless defined? RAILS_ROOT
|
|
|
|
require File.dirname(__FILE__) + "/../lib/open_id_authentication"
|