summaryrefslogtreecommitdiff
path: root/users/test/factories.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2013-11-07 23:36:37 +0100
committerAzul <azul@leap.se>2013-11-08 09:45:28 +0100
commita7cd2ef0877e79302f27fb175384a0cf4ded52d9 (patch)
tree95937da00aeeca34dac67ccd801bad2ad496455e /users/test/factories.rb
parente2c0962077cf759b23639276cca42606ea2135ec (diff)
fix cornercase of non expiring tokens
Diffstat (limited to 'users/test/factories.rb')
-rw-r--r--users/test/factories.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/users/test/factories.rb b/users/test/factories.rb
index c87e290..f5fb77d 100644
--- a/users/test/factories.rb
+++ b/users/test/factories.rb
@@ -19,6 +19,8 @@ FactoryGirl.define do
end
end
- factory :token
+ factory :token do
+ user
+ end
end