diff options
author | 2010-08-12 22:37:11 +0200 | |
---|---|---|
committer | 2010-08-14 13:15:31 +0200 | |
commit | 18bb592c38d8621235e9bdb6e854171dac8654c2 (patch) | |
tree | 7fee1edad7a15a3bd5a834db3ca36658bcec3ba3 /app | |
parent | Improve coverage of User model and fix found bugs (diff) | |
download | recruiting-webapp-18bb592c38d8621235e9bdb6e854171dac8654c2.tar.gz recruiting-webapp-18bb592c38d8621235e9bdb6e854171dac8654c2.tar.bz2 recruiting-webapp-18bb592c38d8621235e9bdb6e854171dac8654c2.zip |
Factory for guests to simplify tests
Diffstat (limited to 'app')
-rw-r--r-- | app/models/guest.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/models/guest.rb b/app/models/guest.rb index 2e6a677..c94891f 100644 --- a/app/models/guest.rb +++ b/app/models/guest.rb @@ -11,4 +11,5 @@ class Guest < Hobo::Guest def role; Role.new(:guest); end def token; nil; end def valid?; true; end + def save!; true; end end |