test/test_helper.rb in authpds-0.0.17 vs test/test_helper.rb in authpds-0.0.18
- old
+ new
@@ -39,11 +39,11 @@
# Load support files
require File.dirname(__FILE__) + '/../lib/authpds'
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f }
class ActiveSupport::TestCase
- VALID_PDS_HANDLE_FOR_NYU = '732012103839115682024010207789'
+ VALID_PDS_HANDLE_FOR_NYU = '83201295456116368349190324314'
VALID_PDS_HANDLE_FOR_NEWSCHOOL = '272201212284614806184193096120278'
VALID_PDS_HANDLE_FOR_COOPER = '272201212284614806184193096120278'
INVALID_PDS_HANDLE = "Invalid"
SESSION_ID = "qwertyuiopasdfghjkllzxcvbnm1234567890"
include ActiveRecord::TestFixtures
@@ -67,9 +67,12 @@
end
def root_url
end
+ def redirect_to(*args)
+ end
+
def validate_url(options={})
return "http://railsapp.library.nyu.edu/validate?return_url=#{options[:return_url]}"
end
def performed?