diff --git a/lib/devise/models/database_authenticatable.rb b/lib/devise/models/database_authenticatable.rb index 8f41bfff53..b155f3d0fd 100644 --- a/lib/devise/models/database_authenticatable.rb +++ b/lib/devise/models/database_authenticatable.rb @@ -12,7 +12,7 @@ module Models # # == Options # - # DatabaseAuthenticable adds the following options to devise_for: + # DatabaseAuthenticatable adds the following options to devise_for: # # * +pepper+: a random string used to provide a more secure hash. Use # `rake secret` to generate new keys. diff --git a/lib/devise/strategies/authenticatable.rb b/lib/devise/strategies/authenticatable.rb index 1906cf0828..13249e8257 100644 --- a/lib/devise/strategies/authenticatable.rb +++ b/lib/devise/strategies/authenticatable.rb @@ -27,7 +27,7 @@ def clean_up_csrf? # Receives a resource and check if it is valid by calling valid_for_authentication? # An optional block that will be triggered while validating can be optionally - # given as parameter. Check Devise::Models::Authenticable.valid_for_authentication? + # given as parameter. Check Devise::Models::Authenticatable.valid_for_authentication? # for more information. # # In case the resource can't be validated, it will fail with the given diff --git a/test/models/lockable_test.rb b/test/models/lockable_test.rb index 8acbf3cf27..d4ded24913 100644 --- a/test/models/lockable_test.rb +++ b/test/models/lockable_test.rb @@ -14,7 +14,7 @@ def setup end end - test "should increment failed_attempts on successfull validation if the user is already locked" do + test "should increment failed_attempts on successful validation if the user is already locked" do user = create_user user.confirm