mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-16 06:05:29 +01:00
add testcase for deleting a user. Resolves #734
This commit is contained in:
parent
3ddabd20d1
commit
539b4f96a1
2 changed files with 8 additions and 1 deletions
|
|
@ -124,7 +124,7 @@ class User < ActiveRecord::Base
|
|||
|
||||
#for will_paginate plugin
|
||||
cattr_accessor :per_page
|
||||
@@per_page = 1
|
||||
@@per_page = 5
|
||||
|
||||
def validate
|
||||
unless Tracks::Config.auth_schemes.include?(auth_type)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue