diff options
author | Francis Irving <francis@mysociety.org> | 2010-06-10 11:28:55 +0100 |
---|---|---|
committer | Francis Irving <francis@mysociety.org> | 2010-06-10 11:28:55 +0100 |
commit | 8461b9fd374f715e08ba5d7ed63af2f015a8b134 (patch) | |
tree | 9ddb6cfe8756d4f8f77c4a72399aff6bc4263a6a /spec/models | |
parent | 8a22601535bd2777ba43eeb9843896cf09e33377 (diff) |
Only use last 100 finds, not 200
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/track_mailer_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/track_mailer_spec.rb b/spec/models/track_mailer_spec.rb index 06f250a34..44619e2bb 100644 --- a/spec/models/track_mailer_spec.rb +++ b/spec/models/track_mailer_spec.rb @@ -61,7 +61,7 @@ describe TrackMailer do end it 'should ask for the events returned by the tracking query' do - InfoRequest.should_receive(:full_search).with([InfoRequestEvent], 'test query', 'described_at', true, nil, 200, 1).and_return(@xapian_search) + InfoRequest.should_receive(:full_search).with([InfoRequestEvent], 'test query', 'described_at', true, nil, 100, 1).and_return(@xapian_search) TrackMailer.alert_tracks end |