Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Versio bump to 1.4.1

  • Loading branch information...
commit 4c830f60063054eaa5e23c35bd35b517d11ce93c 1 parent 62e6dfe
@binarylogic binarylogic authored
View
2  CHANGELOG.rdoc
@@ -1,4 +1,4 @@
-== 1.4.1
+== 1.4.1 released 2009-2-8
* Fixed I18n key misspelling.
* Added I18n keys for ORM error messages.
View
2  lib/authlogic/version.rb
@@ -44,7 +44,7 @@ def to_a
MAJOR = 1
MINOR = 4
- TINY = 0
+ TINY = 1
# The current version as a Version instance
CURRENT = new(MAJOR, MINOR, TINY)
View
7 test/orm_adapters_tests/active_record_adapter_tests/acts_as_authentic_tests/credentials_test.rb
@@ -57,6 +57,13 @@ def test_user_validations
assert user.valid?
end
+ # Make sure the default :within option is ignored, since AR will raise an error if :within and :minimum are passed.
+ def test_multiple_length_options
+ User.acts_as_authentic(:login_field_validates_length_of_options => {:minimum => 6})
+ user = User.new
+ assert_nothing_raised { user.valid? }
+ end
+
def test_employee_validations
employee = Employee.new
employee.password = "pass"
Please sign in to comment.
Something went wrong with that request. Please try again.