Permalink
Browse files

cleanup test suite for 1.9.2

  • Loading branch information...
1 parent 6e2745b commit a78e063dcc9b4486ee00c946320eefcdf5facd8c @binarylogic committed Sep 5, 2010
Showing with 40 additions and 40 deletions.
  1. +1 −1 test/acts_as_authentic_test/base_test.rb
  2. +1 −1 test/acts_as_authentic_test/email_test.rb
  3. +1 −1 test/acts_as_authentic_test/logged_in_status_test.rb
  4. +1 −1 test/acts_as_authentic_test/login_test.rb
  5. +1 −1 test/acts_as_authentic_test/magic_columns_test.rb
  6. +1 −1 test/acts_as_authentic_test/password_test.rb
  7. +1 −1 test/acts_as_authentic_test/perishable_token_test.rb
  8. +1 −1 test/acts_as_authentic_test/persistence_token_test.rb
  9. +1 −1 test/acts_as_authentic_test/restful_authentication_test.rb
  10. +1 −1 test/acts_as_authentic_test/session_maintenance_test.rb
  11. +1 −1 test/acts_as_authentic_test/single_access_test.rb
  12. +1 −1 test/authenticates_many_test.rb
  13. +1 −1 test/crypto_provider_test/aes256_test.rb
  14. +1 −1 test/crypto_provider_test/bcrypt_test.rb
  15. +1 −1 test/crypto_provider_test/sha1_test.rb
  16. +1 −1 test/crypto_provider_test/sha256_test.rb
  17. +1 −1 test/crypto_provider_test/sha512_test.rb
  18. +1 −1 test/i18n_test.rb
  19. +1 −1 test/random_test.rb
  20. +1 −1 test/session_test/activation_test.rb
  21. +2 −2 test/session_test/active_record_trickery_test.rb
  22. +1 −1 test/session_test/brute_force_protection_test.rb
  23. +1 −1 test/session_test/callbacks_test.rb
  24. +1 −1 test/session_test/cookies_test.rb
  25. +1 −1 test/session_test/existence_test.rb
  26. +1 −1 test/session_test/http_auth_test.rb
  27. +1 −1 test/session_test/id_test.rb
  28. +1 −1 test/session_test/klass_test.rb
  29. +1 −1 test/session_test/magic_columns_test.rb
  30. +1 −1 test/session_test/magic_states_test.rb
  31. +1 −1 test/session_test/params_test.rb
  32. +1 −1 test/session_test/password_test.rb
  33. +1 −1 test/session_test/perishability_test.rb
  34. +1 −1 test/session_test/persistence_test.rb
  35. +1 −1 test/session_test/scopes_test.rb
  36. +1 −1 test/session_test/session_test.rb
  37. +1 −1 test/session_test/timeout_test.rb
  38. +1 −1 test/session_test/unauthorized_record_test.rb
  39. +1 −1 test/session_test/validation_test.rb
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module ActsAsAuthenticTest
class BaseTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module ActsAsAuthenticTest
class EmailTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module ActsAsAuthenticTest
class LoggedInStatusTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module ActsAsAuthenticTest
class LoginTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module ActsAsAuthenticTest
class MagicColumnsTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module ActsAsAuthenticTest
class PasswordTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module ActsAsAuthenticTest
class PerishableTokenTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module ActsAsAuthenticTest
class PersistenceTokenTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module ActsAsAuthenticTest
class RestfulAuthenticationTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module ActsAsAuthenticTest
class SessionMaintenanceTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module ActsAsAuthenticTest
class SingleAccessTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/test_helper.rb'
+require 'test_helper'
class AuthenticatesManyTest < ActiveSupport::TestCase
def test_scoping
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module CryptoProviderTest
class AES256Test < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module CryptoProviderTest
class BCrpytTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module CryptoProviderTest
class Sha1Test < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module CryptoProviderTest
class Sha256Test < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module CryptoProviderTest
class Sha512Test < ActiveSupport::TestCase
View
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/test_helper.rb'
+require 'test_helper'
class I18nTest < ActiveSupport::TestCase
def test_uses_authlogic_as_scope_by_default
View
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/test_helper.rb'
+require 'test_helper'
class RandomTest < ActiveSupport::TestCase
def test_random_tokens_are_indeed_random
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
module ActivationTest
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
module ActiveRecordTrickeryTest
@@ -29,7 +29,7 @@ def test_new_record
def test_to_model
session = UserSession.new
- assert session, session.to_model
+ assert_equal session, session.to_model
end
end
end
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
module BruteForceProtectionTest
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
class CallbacksTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
module CookiesTest
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
module ExistenceTest
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
class HttpAuthTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
class IdTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
module KlassTest
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
module MagicColumnsTest
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
module SessionTest
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
module ParamsTest
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
module PasswordTest
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
class PerishabilityTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
class PersistenceTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
class ScopesTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
module SessionTest
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
module TimeoutTest
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
class UnauthorizedRecordTest < ActiveSupport::TestCase
@@ -1,4 +1,4 @@
-require File.dirname(__FILE__) + '/../test_helper.rb'
+require 'test_helper'
module SessionTest
class ValidationTest < ActiveSupport::TestCase

0 comments on commit a78e063

Please sign in to comment.