aboutsummaryrefslogtreecommitdiffstats
path: root/spec/factories.rb
diff options
context:
space:
mode:
authorLouise Crow <louise.crow@gmail.com>2013-10-24 14:35:25 +0100
committerLouise Crow <louise.crow@gmail.com>2013-12-04 09:32:42 +0000
commit9a5c01d781129aeb1ab2b18771ac131ecdfb56c1 (patch)
tree78a4c2f3d0bf2037935d6f38b4866959ef13e7ec /spec/factories.rb
parent857128b465cf345756bbeabbccdc673921090210 (diff)
Add InfoRequestBatch model.
Re-annotate models. Index InfoRequestBatches by user - we'll display the batches for a user when they view their own requests.
Diffstat (limited to 'spec/factories.rb')
-rw-r--r--spec/factories.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories.rb b/spec/factories.rb
index 189fb02cb..66388af6e 100644
--- a/spec/factories.rb
+++ b/spec/factories.rb
@@ -145,4 +145,8 @@ FactoryGirl.define do
track_query 'Example Query'
end
+ factory :info_request_batch do
+ title "Example title"
+ user
+ end
end