about summary refs log tree commit diff
path: root/spec/fabricators
diff options
context:
space:
mode:
authorysksn <bluewhale1982@gmail.com>2017-11-13 09:54:48 +0900
committerYamagishi Kazutoshi <ykzts@desire.sh>2017-11-13 09:54:48 +0900
commit60f247c2e795f9611323f5595e8851886cff723d (patch)
tree93d1a1a977fa01275bfc567fe62fc7304bef6148 /spec/fabricators
parentcf7e8409909e1ea02dff9056133449d6cbd34d72 (diff)
Add tests for SessionActivation (#5668)
* Fabricate SessionActivation

not only user_id but user association.

* Add tests for SessionActivation
Diffstat (limited to 'spec/fabricators')
-rw-r--r--spec/fabricators/session_activation_fabricator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/fabricators/session_activation_fabricator.rb b/spec/fabricators/session_activation_fabricator.rb
index 46050bdab..526faaec2 100644
--- a/spec/fabricators/session_activation_fabricator.rb
+++ b/spec/fabricators/session_activation_fabricator.rb
@@ -1,4 +1,4 @@
 Fabricator(:session_activation) do
-  user_id    1
+  user
   session_id "MyString"
 end