aboutsummaryrefslogtreecommitdiffstats
path: root/spec/models/track_thing_spec.rb
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-05-03 18:57:51 +0100
committerRobin Houston <robin.houston@gmail.com>2012-05-03 18:57:51 +0100
commit20324887036cccc940e1d68fe8c99864b5b634bd (patch)
treee8968ddf336b65d40d295421d19091f061d940ca /spec/models/track_thing_spec.rb
parentc86325840e2204daea36e68fac045a215a26eafe (diff)
parent858898510fe77550ac6550a6b306b5c7a2b93d31 (diff)
Merge branch 'develop' of github.com:sebbacon/alaveteli into develop
Diffstat (limited to 'spec/models/track_thing_spec.rb')
-rw-r--r--spec/models/track_thing_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/track_thing_spec.rb b/spec/models/track_thing_spec.rb
index bd122941a..93f407475 100644
--- a/spec/models/track_thing_spec.rb
+++ b/spec/models/track_thing_spec.rb
@@ -36,7 +36,7 @@ describe TrackThing, "when tracking changes" do
it "will make some sane descriptions of search-based tracks" do
tests = [['bob variety:user', "users matching text 'bob'"],
- ['bob (variety:sent OR variety:followup_sent OR variety:response OR variety:comment) (latest_status:successful OR latest_status:partially_successful OR latest_status:rejected OR latest_status:not_held)', "requests which are successful or unsuccessful or comments matching text 'bob'"],
+ ['bob (variety:sent OR variety:followup_sent OR variety:response OR variety:comment) (latest_status:successful OR latest_status:partially_successful OR latest_status:rejected OR latest_status:not_held)', "comments or requests which are successful or unsuccessful matching text 'bob'"],
['(latest_status:waiting_response OR latest_status:waiting_clarification OR waiting_classification:true)', 'requests which are awaiting a response']]
for query, description in tests
track_thing = TrackThing.create_track_for_search_query(query)