diff options
author | Louise Crow <louise.crow@gmail.com> | 2014-03-17 17:26:49 +0000 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2014-03-24 13:07:50 +0000 |
commit | aec70771b7029f8c312e779a6e7fa6d5537abbed (patch) | |
tree | 8606808579587dc5c416e17a7fcb380e36ee2655 /spec/factories.rb | |
parent | 4bde7f5d1dce36ffeb47826b146b5d53a155d123 (diff) |
Add notices for subscribing something you're subscribed to.
These notices are full sentences, rather than being composed of phrases,
which should make them easier to translate.
Diffstat (limited to 'spec/factories.rb')
-rw-r--r-- | spec/factories.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/spec/factories.rb b/spec/factories.rb index 0996ff0c4..7e6f0da99 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -145,6 +145,24 @@ FactoryGirl.define do track_type 'search_query' track_query 'Example Query' end + factory :user_track do + association :tracked_user, :factory => :user + track_type 'user_updates' + end + factory :public_body_track do + association :public_body, :factory => :public_body + track_type 'public_body_updates' + end + factory :request_update_track do + association :info_request, :factory => :info_request + track_type 'request_updates' + end + factory :successful_request_track do + track_type 'all_successful_requests' + end + factory :new_request_track do + track_type 'all_new_requests' + end end factory :public_body_change_request do |