aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/views/request/_other_describe_state.rhtml10
-rw-r--r--spec/models/xapian_spec.rb2
-rw-r--r--spec/views/request/_describe_state.rhtml_spec.rb2
3 files changed, 7 insertions, 7 deletions
diff --git a/app/views/request/_other_describe_state.rhtml b/app/views/request/_other_describe_state.rhtml
index aa153043b..10eed250c 100644
--- a/app/views/request/_other_describe_state.rhtml
+++ b/app/views/request/_other_describe_state.rhtml
@@ -1,11 +1,11 @@
<% form_for(:incoming_message, @info_request, :url => describe_state_url(:id => @info_request.id)) do |f| %>
- <h2>Can you help us by describing the status of this request now?</h2>
- <div class="form_explanation">
- <%= user_link(@info_request.user) %> hasn't yet let us know whether this request was
- successful or not. Perhaps you could help us out by doing so?
- </div>
+ <h2>Hi! We need your help. The person who made the following request
+ hasn't told us whether or not it was successful. Would you mind taking
+ a moment to read it and help us keep the place tidy for everyone?
+ Thanks.</h2>
+
<hr> <!------------------------------------------------>
<% if @info_request.described_state != 'internal_review' %>
diff --git a/spec/models/xapian_spec.rb b/spec/models/xapian_spec.rb
index 7d7e7f6c1..7a7112eb1 100644
--- a/spec/models/xapian_spec.rb
+++ b/spec/models/xapian_spec.rb
@@ -96,7 +96,7 @@ describe User, " when indexing requests by user they are from" do
u.name = 'Robert Smith'
u.save!
u.url_name.should == 'robert_smith'
- ActsAsXapian.update_index(true, verbose) # true = flush to disk
+ ActsAsXapian.update_index(flush_to_disk=true, verbose)
# check we get results expected
xapian_object = InfoRequest.full_search([InfoRequestEvent], "requested_by:bob_smith", 'created_at', true, nil, 100, 1)
diff --git a/spec/views/request/_describe_state.rhtml_spec.rb b/spec/views/request/_describe_state.rhtml_spec.rb
index 8460013d3..9fb776db3 100644
--- a/spec/views/request/_describe_state.rhtml_spec.rb
+++ b/spec/views/request/_describe_state.rhtml_spec.rb
@@ -55,7 +55,7 @@ describe 'when showing the form for describing the state of a request' do
it 'should show the form for someone else to classify the request' do
do_render
- response.should have_tag('h2', :text => 'Can you help us by describing the status of this request now?')
+ response.should have_tag('h2', :text => /We need your help/)
end
it 'should not give a link to login' do