aboutsummaryrefslogtreecommitdiffstats
path: root/spec/integration/download_request_spec.rb
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2015-04-29 14:47:34 +0100
committerGareth Rees <gareth@mysociety.org>2015-05-12 16:13:16 +0100
commitf3c6f513bc75516f7ba70c04a9ecef78d6d14ac9 (patch)
treec1d4bcdc155856387505a4c9ecaa04b0239782a9 /spec/integration/download_request_spec.rb
parentdd00661123379ccb508a7422b152c17769f7501d (diff)
Use a sequence for InfoRequest factory
Avoids unique name constraint
Diffstat (limited to 'spec/integration/download_request_spec.rb')
-rw-r--r--spec/integration/download_request_spec.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/integration/download_request_spec.rb b/spec/integration/download_request_spec.rb
index 48b42b11d..c73b85866 100644
--- a/spec/integration/download_request_spec.rb
+++ b/spec/integration/download_request_spec.rb
@@ -143,7 +143,8 @@ describe 'when making a zipfile available' do
it "should update the contents of the zipfile when the request changes" do
- info_request = FactoryGirl.create(:info_request_with_incoming)
+ info_request = FactoryGirl.create(:info_request_with_incoming,
+ :title => 'Example Title')
request_owner = login(info_request.user)
inspect_zip_download(request_owner, info_request) do |zip|
zip.count.should == 1 # just the message