aboutsummaryrefslogtreecommitdiffstats
path: root/spec/integration/download_request_spec.rb
diff options
context:
space:
mode:
authorGareth Rees <gareth@mysociety.org>2015-05-12 16:48:44 +0100
committerGareth Rees <gareth@mysociety.org>2015-05-12 16:48:44 +0100
commit8f9984b66c7ce5d38b07bb6dfef28e914894a92c (patch)
tree1874b9165028b6969f6274303878bd2ce6b510d0 /spec/integration/download_request_spec.rb
parent7d9de8a5ffe67e6bc49271a082c1d8e43dbb0f03 (diff)
parent9329b7f06d8a36ecb901d2172836ab8f5b2cdf3b (diff)
Merge branch 'initial_request_text-2' into rails-3-develop
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