diff options
author | Akihiko Odaki <akihiko.odaki.4i@stu.hosei.ac.jp> | 2018-03-24 20:51:28 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-03-24 12:51:28 +0100 |
commit | b2a4ffd3a91abc5030baf2ede97c0867924d8fbc (patch) | |
tree | 6755edc959aa310dd5e9e388e72eb6763f2ce3e6 /spec/fabricators | |
parent | fa310695fa0b5fe76739232dd6acee81da6cd401 (diff) |
Change columns in notifications nonnullable (#6764)
Diffstat (limited to 'spec/fabricators')
-rw-r--r-- | spec/fabricators/notification_fabricator.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/fabricators/notification_fabricator.rb b/spec/fabricators/notification_fabricator.rb index b92af0683..638844e0f 100644 --- a/spec/fabricators/notification_fabricator.rb +++ b/spec/fabricators/notification_fabricator.rb @@ -1,4 +1,4 @@ Fabricator(:notification) do - activity_id 1 - activity_type 'Favourite' + activity fabricator: [:mention, :status, :follow, :follow_request, :favourite].sample + account end |