diff options
author | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-28 18:22:10 +0000 |
---|---|---|
committer | Eric Davis <edavis@littlestreamsoftware.com> | 2010-09-28 18:22:10 +0000 |
commit | c059300d99aa439c83372a950087f082c7049018 (patch) | |
tree | 89d2f0a4f62879365cb1223252661fbeb386de80 /test/exemplars | |
parent | a61ee73e691fcc3bc8331cee778e93e5f82884ce (diff) | |
download | redmine-c059300d99aa439c83372a950087f082c7049018.tar.gz redmine-c059300d99aa439c83372a950087f082c7049018.zip |
Added User#notify_about? to check when a user should be notified about an event
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4218 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/exemplars')
-rw-r--r-- | test/exemplars/user_exemplar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/exemplars/user_exemplar.rb b/test/exemplars/user_exemplar.rb index 7c4af70b8..def8dc423 100644 --- a/test/exemplars/user_exemplar.rb +++ b/test/exemplars/user_exemplar.rb @@ -3,7 +3,7 @@ class User < Principal generator_for :mail, :method => :next_email generator_for :firstname, :method => :next_firstname generator_for :lastname, :method => :next_lastname - + def self.next_login @gen_login ||= 'user1' @gen_login.succ! |